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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Overridable Sub DisposeNativeResources
protected virtual void 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.