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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για