HwndSource.Disposed Event
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.
Occurs when the Dispose() method is called on this object.
public:
event EventHandler ^ Disposed;
public event EventHandler Disposed;
member this.Disposed : EventHandler
Public Custom Event Disposed As EventHandler
Public Event Disposed As EventHandler
Event Type
Remarks
The Disposed event is raised before any resources are released by the HwndSource. The Disposed event indicates that the object that raises the event is about to have all references to it removed.
Use Disposed and the IsDisposed property to avoid calling Dispose twice (which raises an exception).
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.