Click or drag to resize

PFJobFactoryCreateJobInstance Method (String, PFSite)

Creates a Packflow Job instance, from the provided type name.

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(
	string typeFullName,
	PFSite site
)

Parameters

typeFullName
Type: SystemString
Job type full name. Must implement Packflo.Core.Jobs.PFJob Example: Packflow.Core.Jobs.Impl.PFChoiceFieldUpdaterJob
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