FaultHandlerActivity::FaultType Property

 

Gets and sets the Type of the exceptions to be handled by the FaultHandlerActivity. Exceptions of the type derived from the type specified in FaultType are also handled.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
property Type^ FaultType {
	Type^ get();
	void set(Type^ value);
}

Property Value

Type: System::Type^

The Type of the associated Exception.

This property must be set to use the FaultHandlerActivity.

The following example shows how to set the FaultType property. This example is from the Compensation SDK sample. For more information, seeCompensation Sample.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: