WorkflowInstance.WorkflowInstanceControl.Terminate(Exception) Metod

Definition

Övergår WorkflowInstance till terminaltillståndet Faulted med det angivna undantaget.

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

Parametrar

reason
Exception

Undantaget som är orsaken till att WorkflowInstanceavsluta .

Gäller för