Skip to main content
.NET Framework 4.6.2+

BaseObjectSpace.Dispose() Method

Releases all resources used by an BaseObjectSpace object.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

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