EDN Admin
Well-known member
[Broken External Image]:http://ecn.channel9.msdn.com/o9/ch9/6510/556510/endpointWFCancelScope_85_ch9.pngOne of the great things about using a Workflow is that you can define behaviors that will be applied when your workflow (or some part of it) is canceled.
Activities, for example, can be canceled by the parent activity that contains them (as is the case with a Parallel), and the Workflow itself can be canceled by the host application.
In this episode, Ill show you a sample application that demonstrates how the CancellationScope activity works.
WF4 CancellationScope Activity Sample (MSDN Code Gallery)
Ron Jacobs
blog*** http://blogs.msdn.com/rjacobs
twitter @ronljacobs[Broken External Image]:http://channel9.msdn.com/556510/WebViewBug.aspx?EVT=0
More...
Activities, for example, can be canceled by the parent activity that contains them (as is the case with a Parallel), and the Workflow itself can be canceled by the host application.
In this episode, Ill show you a sample application that demonstrates how the CancellationScope activity works.
WF4 CancellationScope Activity Sample (MSDN Code Gallery)
Ron Jacobs
blog*** http://blogs.msdn.com/rjacobs
twitter @ronljacobs[Broken External Image]:http://channel9.msdn.com/556510/WebViewBug.aspx?EVT=0
More...