Unwind Property
Collapse the table of content
Expand the table of content

ContractFailedEventArgs.Unwind Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Indicates whether the code contract escalation policy should be applied.

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

public bool Unwind { get; }

Property Value

Type: System.Boolean
true to apply the escalation policy; otherwise, false. The default is true.

The default escalation policy is to notify the attached debugger about a contract failure or to display an Assert dialog box.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft