Επεξεργασία

Κοινή χρήση μέσω


ContractFailedEventArgs.Handled Property

Definition

Indicates whether the ContractFailed event has been handled.

public:
 property bool Handled { bool get(); };
public bool Handled { get; }
member this.Handled : bool
Public ReadOnly Property Handled As Boolean

Property Value

true if the event has been handled; otherwise, false.

Remarks

If the Contract.ContractFailed event has not been handled, the debugger is notified. If no debugger is attached, an Assert dialog box is displayed.

Applies to