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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.