Skip to main content
A newer version of this page is available. .

BaseObjectSpace.Dispose() Method

Releases all resources used by an BaseObjectSpace object.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public virtual void Dispose()

Remarks

The Dispose method releases all resources allocated by the current BaseObjectSpace, and speeds up system performance. Usually, you do not need to use this method, because Object Spaces are disposed of together with disposing of the container Views. Use Dispose only if you manually create an Object Space via the XafApplication.CreateObjectSpace method and do not assign it to any View.

Override this method in the BaseObjectSpace class’ descendants to dispose their allocated resources.

See Also