HostProtectionAttribute.MayLeakOnAbort 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.
Gets or sets a value indicating whether resources might leak memory if the operation is terminated.
public:
property bool MayLeakOnAbort { bool get(); void set(bool value); };
public bool MayLeakOnAbort { get; set; }
member this.MayLeakOnAbort : bool with get, set
Public Property MayLeakOnAbort As Boolean
Property Value
true
if resources might leak memory on termination; otherwise, false
.
Remarks
Code might cause a resource leak on termination, if not protected by a safe handle or some other means of ensuring the release of resources.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.