ContractFailedEventArgs.Unwind Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the code contract escalation policy should be applied.
public:
property bool Unwind { bool get(); };
public bool Unwind { get; }
member this.Unwind : bool
Public ReadOnly Property Unwind As Boolean
Property Value
true
to apply the escalation policy; otherwise, false
. The default is false
.
Remarks
If the return value is true
, the escalation policy is to notify the attached debugger about a contract failure or to display an Assert dialog box if a debugger is not attached.
Warning
This value should be set to false
for analysis tools that run on a server (for example, ASP.NET).
Applies to
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir