WorkflowInstance.WorkflowInstanceControl.Abort 方法

定义

中止 WorkflowInstance

重载

Abort()

中止 WorkflowInstance

Abort(Exception)

使用指定的异常中止 WorkflowInstance

注解

调用 Abort 之后,大多数 WorkflowInstance.WorkflowInstanceControl API(Abort 除外)都将引发 InvalidOperationException

Abort()

中止 WorkflowInstance

public:
 void Abort();
public void Abort ();
member this.Abort : unit -> unit
Public Sub Abort ()

注解

调用 Abort 之后,大多数 WorkflowInstance.WorkflowInstanceControl API(Abort 除外)都将引发 InvalidOperationException

适用于

Abort(Exception)

使用指定的异常中止 WorkflowInstance

public:
 void Abort(Exception ^ reason);
public void Abort (Exception reason);
member this.Abort : Exception -> unit
Public Sub Abort (reason As Exception)

参数

reason
Exception

中止 WorkflowInstance 的原因。

注解

调用 Abort 之后,大多数 WorkflowInstance.WorkflowInstanceControl API(Abort 除外)都将引发 InvalidOperationException

适用于