ProjectSequence.HandleFault method
Handles the specified exception in a Project Server workflow.
Namespace: Microsoft.Office.Project.Server.Workflow
Assembly: Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)
Syntax
'Declaration
Protected Overrides Function HandleFault ( _
executionContext As ActivityExecutionContext, _
exception As Exception _
) As ActivityExecutionStatus
'Usage
Dim executionContext As ActivityExecutionContext
Dim exception As Exception
Dim returnValue As ActivityExecutionStatus
returnValue = Me.HandleFault(executionContext, _
exception)
protected override ActivityExecutionStatus HandleFault(
ActivityExecutionContext executionContext,
Exception exception
)
Parameters
executionContext
Type: System.Workflow.ComponentModel.ActivityExecutionContextThe execution environment of a Project Server workflow.
exception
Type: System.ExceptionThe specific exception type.
Return value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus
An enumerated value that corresponds to the status of an activity within a running workflow instance.