PSActivity.Cancel(NativeActivityContext) 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.
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.