Condividi tramite


DisposableObject.DisposeManagedResources Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Allows derived classes to provide custom dispose handling for managed resources.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Sub DisposeManagedResources
protected virtual void DisposeManagedResources()
protected:
virtual void DisposeManagedResources()
abstract DisposeManagedResources : unit -> unit  
override DisposeManagedResources : unit -> unit
protected function DisposeManagedResources()

Remarks

Derived classes are expected to override this method to dispose their managed resources, then call the base class.

.NET Framework Security

See Also

Reference

DisposableObject Class

Microsoft.VisualStudio.PlatformUI Namespace