System.Diagnostics.Contracts.ContractFailedEventArgs Class

Provides methods and data for the Contract.ContractFailed event.

See Also: ContractFailedEventArgs Members

Syntax

public sealed class ContractFailedEventArgs : EventArgs

Remarks

A System.Diagnostics.Contracts.ContractFailedEventArgs object is passed to the Contract.ContractFailed event when a contract fails. The Contract.ContractFailed event enables a managed application environment such as an interactive interpreter, a Web browser host, a test harness, or a logging infrastructure to be notified of contract failures. The event requires full trust.

Requirements

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