HandleExternalEventActivity.HandleFault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when an exception is raised within the context of the execution of this instance.
protected:
override System::Workflow::ComponentModel::ActivityExecutionStatus HandleFault(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext, Exception ^ exception);
protected override sealed System.Workflow.ComponentModel.ActivityExecutionStatus HandleFault (System.Workflow.ComponentModel.ActivityExecutionContext executionContext, Exception exception);
override this.HandleFault : System.Workflow.ComponentModel.ActivityExecutionContext * Exception -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Overrides NotOverridable Function HandleFault (executionContext As ActivityExecutionContext, exception As Exception) As ActivityExecutionStatus
Parameters
- executionContext
- ActivityExecutionContext
The ActivityExecutionContext for this instance.
Returns
The ActivityExecutionStatus that results from an attempt to cancel this instance.
Exceptions
executionContext
is a null reference (Nothing
in Visual Basic).
-or-
exception
is a null reference (Nothing
in Visual Basic).
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.