INotifyObjectDisposing.Disposing Event

 

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.

Return to top
Show: