Edit

Share via


AsyncCodeActivity.Cancel(AsyncCodeActivityContext) Method

Definition

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