NativeActivity<TResult>.Abort(NativeActivityAbortContext) 方法

定义

在派生类中实现时,采取措施响应要放弃的活动。

protected:
 virtual void Abort(System::Activities::NativeActivityAbortContext ^ context);
protected virtual void Abort (System.Activities.NativeActivityAbortContext context);
abstract member Abort : System.Activities.NativeActivityAbortContext -> unit
override this.Abort : System.Activities.NativeActivityAbortContext -> unit
Protected Overridable Sub Abort (context As NativeActivityAbortContext)

参数

context
NativeActivityAbortContext

执行活动时所处的执行上下文。

适用于