System.Diagnostics.Contracts.ContractFailedEventArgs.Handled Property

Indicates whether the Contract.ContractFailed event has been handled.

Syntax

public bool Handled { get; }

Value

Whether the contract failure has been handled.

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.

Requirements

Namespace: System.Diagnostics.Contracts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0