ThrowActivity.Fault Property


Gets or sets the exception object that should be thrown by the ThrowActivity.

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

public Exception Fault { get; set; }

Property Value

Type: System.Exception

The Exception associated with this instance.

You indirectly access each public property and event of this type by the resolution of a corresponding dependency property. This dependency property is the public static field named XProperty or XEvent, where X is the corresponding property.

.NET Framework
Available since 3.0
Return to top