System.Diagnostics.Contracts.ContractFailedEventArgs.OriginalException Property

Gets the original exception that caused the Contract.ContractFailed event.

Syntax

public Exception OriginalException { get; }

Value

The original exception that caused this contract failure, if any.

Remarks

Requirements

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