System.Diagnostics.Contracts.ContractFailedEventArgs Class

Provides methods and data for the Contract.ContractFailed event.

See Also: ContractFailedEventArgs Members


public sealed class ContractFailedEventArgs : EventArgs


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.


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