WorkflowInstance.WorkflowInstanceControl.Abort Method (Exception)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Aborts the WorkflowInstance using the specified exception.

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

public void Abort(
	Exception reason
)

Parameters

reason
Type: System.Exception

The reason for aborting the WorkflowInstance.

.NET Framework
Available since 4.0
Return to top
Show: