CompositeActivity::HandleFault Method (ActivityExecutionContext^, Exception^)
.NET Framework (current version)
Called when an exception is raised within the context of the execution of this instance.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public protected: virtual ActivityExecutionStatus HandleFault( ActivityExecutionContext^ executionContext, Exception^ exception ) override
Parameters
- executionContext
-
Type:
System.Workflow.ComponentModel::ActivityExecutionContext^
The ActivityExecutionContext for this instance.
- exception
-
Type:
System::Exception^
The Exception that caused this fault.
Return Value
Type: System.Workflow.ComponentModel::ActivityExecutionStatusThe ActivityExecutionStatus that results from an attempt to cancel this instance.
| Exception | Condition |
|---|---|
| ArgumentNullException | executionContext is a null reference (Nothing in Visual Basic). |
| ArgumentNullException | exception is a null reference (Nothing in Visual Basic). |
.NET Framework
Available since 3.0
Available since 3.0
Show: