Partilhar via


SPWorkflowEventProperties.ErrorException Property

Gets the error that caused the workflow to end.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ErrorException As Exception
    Get
'Usage
Dim instance As SPWorkflowEventProperties
Dim value As Exception

value = instance.ErrorException
public Exception ErrorException { get; }

Property Value

Type: System.Exception
The error that caused the workflow to end.

Remarks

This property is only valid if the EventType property is WorkflowCompleted and the CompletionType property is Errored.

See Also

Reference

SPWorkflowEventProperties Class

SPWorkflowEventProperties Members

Microsoft.SharePoint.Workflow Namespace