System.Diagnostics.Contracts.ContractFailedEventArgs.SetHandled Method

Sets the ContractFailedEventArgs.Handled property to true.

Syntax

public void SetHandled ()

Remarks

The ContractFailedEventArgs.SetHandled method provides a way for the runtime analysis checker to indicate that a contract exception has been handled. See the ContractFailedEventArgs.Handled property for more information.

Requirements

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