System.Diagnostics.Contracts.ContractFailedEventArgs.Condition Property

Gets the condition for the failure of the contract.

Syntax

public string Condition { get; }

Value

The condition that caused the contract failure.

Remarks

Requirements

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