Share via


Helper.ExceptionDoesNotDisableWorkflow method

Determines whether the specified exception stops the workflow but does not prohibit it from running again.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Shared Function ExceptionDoesNotDisableWorkflow ( _
    e As Exception, _
    ByRef message As String _
) As Boolean
'Usage
Dim e As Exception
Dim message As String
Dim returnValue As Boolean

returnValue = Helper.ExceptionDoesNotDisableWorkflow(e, _
    message)
public static bool ExceptionDoesNotDisableWorkflow(
    Exception e,
    ref string message
)

Parameters

  • e
    Type: System.Exception

    An exception that is encountered during the workflow.

  • message
    Type: System.String

    An additional error message, passed by reference.

Return value

Type: System.Boolean
true if the exception stops the workflow but does not prohibit the workflow from running again; otherwise, false.

Remarks

Use this method to determine whether an exception that is encountered during the workflow stops the workflow but does not prohibit it from running again.

See also

Reference

Helper class

Helper members

Microsoft.SharePoint.WorkflowActions namespace