Reputation: 6122
I have a workflow (simple sequence) that calls InvokeMethod on an object. I would like to abort the entire workflow based on code within the object.
This is kind of like http://msdn.microsoft.com/en-us/site/dd560894 but that is aborting from top-down, and I want to just halt the whole workflow from bottom-up. How to do that?
Thanks.
Upvotes: 1
Views: 138
Reputation:
You can do this from a NativeActivity by calling NativeActivityContext.Abort. How are you calling the InvokeMethod?
Upvotes: 1
Reputation: 2371
Do you really need to abort the workflow or is it OK if the workflow just ends? If you are happy with it ending, then I think you have two options depending on the complexity of the workflow:
Upvotes: 0