Udostępnij za pośrednictwem


ContractProxyBase<T>.Finalize Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Releases unmanaged resources before the ContractProxyBase<T> is reclaimed by garbage collection.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
'Usage
Me.Finalize()
protected override void Finalize()
protected:
virtual void Finalize() override
protected override function Finalize()

Remarks

This method overrides Finalize. Application code should not call this method. The Finalize method of an object is automatically invoked during garbage collection, unless the garbage collector calls the SuppressFinalize method to disable finalization.

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

See Also

Reference

ContractProxyBase<T> Class

ContractProxyBase<T> Members

Microsoft.VisualStudio.Tools.Applications Namespace