WorkflowInstance.WorkflowInstanceControl.Terminate(Exception) Methode

Definitie

Hiermee zet u de WorkflowInstance status over in de terminalstatus Faulted met behulp van de opgegeven uitzondering.

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

Parameters

reason
Exception

De uitzondering die de reden is voor het beƫindigen van de WorkflowInstance.

Van toepassing op