Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.ExceptionAn exception that is encountered during the workflow.
message
Type: System.StringAn 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.