AsyncCodeActivity<TResult>.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 been canceled. This method 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.