WorkflowInstance..::.Cancel Method
This page is specific to:.NET Framework Version:4.0
.NET Framework Class Library
WorkflowInstance..::.Cancel Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Cancels the workflow.

Overload List

  NameDescription
Public methodCancel()()()Cancels the workflow.
Public methodCancel(TimeSpan)Cancels the workflow using the specified time-out interval.
Top
Remarks

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

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

See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View