Export (0) Print
Expand All

DefaultWorkflowSchedulerService.Schedule Method (WaitCallback, Guid)

Adds a workflow instance to the pending work items queue using the specified workflow instance using the specified multicast delegate.

Namespace:  System.Workflow.Runtime.Hosting
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

protected internal override void Schedule(
	WaitCallback callback,
	Guid workflowInstanceId
)

Parameters

callback
Type: System.Threading.WaitCallback

A WaitCallback multicast delegate that represents the method to run.

workflowInstanceId
Type: System.Guid

A Guid that represents the workflow instance.

ExceptionCondition
ArgumentNullException

callback contains a null reference (Nothing in Visual Basic).

Use the WaitCallback constructor to create your delegate method to run in the new thread.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft