Upravit

Sdílet prostřednictvím


ManualWorkflowSchedulerService.Schedule Method

Definition

Adds a workflow instance to the pending work items queue.

Overloads

Schedule(WaitCallback, Guid)

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

Schedule(WaitCallback, Guid, DateTime, Guid)

Adds the specified workflow instance to the pending work item queue using the specified multicast delegate, DateTime and GUIDs.

Schedule(WaitCallback, Guid)

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

protected public:
 override void Schedule(System::Threading::WaitCallback ^ callback, Guid workflowInstanceId);
protected internal override void Schedule (System.Threading.WaitCallback callback, Guid workflowInstanceId);
override this.Schedule : System.Threading.WaitCallback * Guid -> unit
Protected Friend Overrides Sub Schedule (callback As WaitCallback, workflowInstanceId As Guid)

Parameters

callback
WaitCallback

A WaitCallback multicast delegate that represents the method to run.

workflowInstanceId
Guid

A Guid that represents the workflow instance.

Exceptions

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

Applies to

Schedule(WaitCallback, Guid, DateTime, Guid)

Adds the specified workflow instance to the pending work item queue using the specified multicast delegate, DateTime and GUIDs.

protected public:
 override void Schedule(System::Threading::WaitCallback ^ callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId);
protected internal override void Schedule (System.Threading.WaitCallback callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId);
override this.Schedule : System.Threading.WaitCallback * Guid * DateTime * Guid -> unit
Protected Friend Overrides Sub Schedule (callback As WaitCallback, workflowInstanceId As Guid, whenUtc As DateTime, timerId As Guid)

Parameters

callback
WaitCallback

A WaitCallback multicast delegate that represents the method to run.

workflowInstanceId
Guid

A Guid that represents the workflow instance.

whenUtc
DateTime

The DateTime that indicates the time to begin running the thread.

timerId
Guid

A Guid that represents the scheduled thread.

Exceptions

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

workflowInstanceId or timerId is an empty GUID.

Applies to