Freigeben über


Finalize Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Allows a GlobalConfigFreeThreaded object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
'Usage

Me.Finalize()
protected override void Finalize()
protected:
virtual void Finalize() override
protected override function Finalize()

Remarks

The Finalize method invokes the Dispose method with the disposing parameter set to false.

This method allows the object to free up resources and carry out other cleanup operations.

This method overrides Finalize. Application code should not call this method; an object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the SuppressFinalize method.

For more information, see Finalize Methods and Destructors, Cleaning Up Unmanaged Resources, and Overriding the Finalize Method.

Permissions

See Also

Reference

GlobalConfigFreeThreaded Class

GlobalConfigFreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace