Export (0) Print
Expand All

WorkflowInstance.WorkflowInstanceControl.Terminate Method

Transitions the WorkflowInstance into the terminal Faulted state using the specified exception.

Namespace:  System.Activities.Hosting
Assembly:  System.Activities (in System.Activities.dll)

public void Terminate(
	Exception reason
)

Parameters

reason
Type: System.Exception

The exception that is the reason for terminating the WorkflowInstance.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft