DisposableObject.DisposeNativeResources 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 native resources.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Sub DisposeNativeResources
protected virtual void DisposeNativeResources()
protected:
virtual void DisposeNativeResources()
abstract DisposeNativeResources : unit -> unit
override DisposeNativeResources : unit -> unit
protected function DisposeNativeResources()
Remarks
Derived classes are expected to override this method to dispose their native resources, then call the base class.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.