Delen via


PSActivity.Cancel(NativeActivityContext) Method

Definition

Cancel the running activity

protected:
 override void Cancel(System::Activities::NativeActivityContext ^ context);
protected override void Cancel (System.Activities.NativeActivityContext context);
override this.Cancel : System.Activities.NativeActivityContext -> unit
Protected Overrides Sub Cancel (context As NativeActivityContext)

Parameters

context
NativeActivityContext

The NativeActivityContext provided by the workflow.

Applies to