WorkflowInstance.WorkflowInstanceControl.Terminate(Exception) Methode

Definition

Versetzt die WorkflowInstance in den Endstatus Faulted mithilfe der angegebenen Ausnahme.

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

Parameter

reason
Exception

Die Ausnahme, die die Ursache für das Beenden der WorkflowInstance darstellt.

Gilt für: