Click or drag to resize

PFJobFactoryCreateJobInstance Method (Type, PFSite)

Creates a Packflow Job instance, from the provided type.

Namespace:  Packflow.Core.Jobs
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public static PFJob CreateJobInstance(
	Type type,
	PFSite site
)

Parameters

type
Type: SystemType
Job type. Must implement Packflo.Core.Jobs.PFJob
site
Type: Packflow.CorePFSite
Packflow site used as context by the Job The PFJob type must be accessible from this site, by being a public type in engine or installed application essemblies

Return Value

Type: PFJob
A PFJob Instance user can run by calling RunJob() or RunJobAsync()
See Also