AsyncCodeActivity.Cancel(AsyncCodeActivityContext) 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.
When implemented in a derived class and using the specified execution environment information, notifies the workflow runtime that the asynchronous activity operation has reached an early completion. Serves as a virtual method.
protected:
virtual void Cancel(System::Activities::AsyncCodeActivityContext ^ context);
protected virtual void Cancel (System.Activities.AsyncCodeActivityContext context);
abstract member Cancel : System.Activities.AsyncCodeActivityContext -> unit
override this.Cancel : System.Activities.AsyncCodeActivityContext -> unit
Protected Overridable Sub Cancel (context As AsyncCodeActivityContext)
Parameters
- context
- AsyncCodeActivityContext
Information that defines the execution environment for the AsyncCodeActivity.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.