Click or drag to resize

DynamicTaskBuilderSerializeDelegate Method

Serializes a delegate to the specified SettingsDictionary.

Namespace:  Ookii.Jumbo.Jet.Jobs.Builder
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public static void SerializeDelegate(
	SettingsDictionary settings,
	Delegate taskDelegate
)

Parameters

settings
Type: Ookii.Jumbo.Jet.JobsSettingsDictionary
The settings.
taskDelegate
Type: SystemDelegate
The task delegate.
Remarks

If you've used the CreateDynamicTask(MethodInfo, Delegate, Int32, RecordReuseMode) method and your delegate's target method is not public, use this method to serialize the delegate to use to call the method and store it in the job settings.

See Also