Terminate Method

WorkflowInstance.WorkflowInstanceControl.Terminate Method (Exception)

.NET Framework (current version)
 

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
Available since 4.0
Return to top
Show:
© 2016 Microsoft