IObjectSpace.Disposed Event

Occurs after an Object Space has been disposed of.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

event EventHandler Disposed
Event Disposed As EventHandler

The Disposed event handler receives an argument of the EventArgs type.

If you implement the IObjectSpace interface in the BaseObjectSpace class' descendant, you don't have to raise this event, since it's raised by the BaseObjectSpace.Dispose method. This method releases all resources allocated by the ObjectSpace and speeds up system performance. Handle this event to release custom resources before the current Object Space is disposed of.

See Also