Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Disposing Event
Collapse the table of content
Expand the table of content

INotifyObjectDisposing.Disposing Event

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Occurs when an object is being disposed.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

event EventHandler Disposing

The handler for this event can be used to unsubscribe from events and release any references or resources. Most properties are still accessible in the handler for this event.

INotifyObjectDisposing complements the Disposed event where accessing any object member will cause an ObjectDisposedException error.

Show:
© 2015 Microsoft