System.Diagnostics.Contracts.ContractFailedEventArgs.SetUnwind Method

Sets the ContractFailedEventArgs.Unwind property to true.

Syntax

public void SetUnwind ()

Remarks

The ContractFailedEventArgs.SetUnwind method provides a way to indicate that the escalation policy for the code contract should be applied. See the ContractFailedEventArgs.Unwind property for more information.

Requirements

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