WorkflowInstance.WorkflowInstanceControl.GetAbortReason Method ()

.NET Framework (current version)
 

Returns the exception that causes the WorkflowInstance to abort.

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

public Exception GetAbortReason()

Return Value

Type: System.Exception

The exception that caused the WorkflowInstance to abort, or null if the WorkflowInstance did not abort.

.NET Framework
Available since 4.0
Return to top
Show: