Click or drag to resize
FileSystemJobFactoryTJobFactory, TJobRegisterJob Method
Registers a new job for given object type by providing a factory method for the job.

Namespace: CMS.ContinuousIntegration.Internal
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 10.0.0
Syntax
C#
public static void RegisterJob(
	string objectType,
	FileSystemJobFactoryTJobFactory, TJobCreateJob factoryMethod
)

Parameters

objectType
Type: SystemString
Object type for which the job is to be used.
factoryMethod
Type: CMS.ContinuousIntegration.InternalFileSystemJobFactoryTJobFactory, TJobCreateJob
Method which creates a new instance of the job.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when objectType or factoryMethod is null.
See Also