WorkflowSchedulerService.Schedule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by the runtime to request a new thread to run a workflow instance.
Overloads
Schedule(WaitCallback, Guid) |
When overridden in a derived class, this method is called by the runtime to schedule a work item (callback) for a particular instance ID. |
Schedule(WaitCallback, Guid, DateTime, Guid) |
When overridden in a derived class, this method is called by the runtime to schedule a work item (callback) for a particular workflow instance to be done at the given time (DateTime). |
Schedule(WaitCallback, Guid)
When overridden in a derived class, this method is called by the runtime to schedule a work item (callback) for a particular instance ID.
protected public:
abstract void Schedule(System::Threading::WaitCallback ^ callback, Guid workflowInstanceId);
protected internal abstract void Schedule (System.Threading.WaitCallback callback, Guid workflowInstanceId);
abstract member Schedule : System.Threading.WaitCallback * Guid -> unit
Protected Friend MustOverride Sub Schedule (callback As WaitCallback, workflowInstanceId As Guid)
Parameters
- callback
- WaitCallback
A WaitCallback multicast delegate that represents the method to run.
Remarks
Use the WaitCallback constructor to create your delegate method to run in the new thread.
Applies to
Schedule(WaitCallback, Guid, DateTime, Guid)
When overridden in a derived class, this method is called by the runtime to schedule a work item (callback) for a particular workflow instance to be done at the given time (DateTime).
protected public:
abstract void Schedule(System::Threading::WaitCallback ^ callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId);
protected internal abstract void Schedule (System.Threading.WaitCallback callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId);
abstract member Schedule : System.Threading.WaitCallback * Guid * DateTime * Guid -> unit
Protected Friend MustOverride 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.