Export (0) Print
Expand All

WorkflowApplication.Cancel Method

Cancels the workflow instance.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Cancel() Cancels the workflow instance.
Public method Cancel(TimeSpan) Cancels the workflow instance using the specified time-out interval.
Top

This method schedules the cancellation of the workflow instance. To be notified when the cancellation has completed, use the OnCompleted handle.

By default, the cancel operation must complete in 30 seconds or a TimeoutException is thrown.

Show:
© 2014 Microsoft