Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Disposes of this object, calling FRevokeComponent if our manager field is non-null and our componentCookie field is not 0.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Protected Overrides Sub DisposeManagedResources
'Usage
Me.DisposeManagedResources()
protected override void DisposeManagedResources()
protected:
virtual void DisposeManagedResources() override
abstract DisposeManagedResources : unit -> unit
override DisposeManagedResources : unit -> unit
protected override function DisposeManagedResources()
Exceptions
| Exception | Condition |
|---|---|
| ComponentRevocationFailedException | Can throw this exception if we were constructed with an IOleComponentManager, have a non-zero component cookie (meaning we are registered) and our call to FRevokeComponent returns FALSE (0). |
.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.
See Also
Reference
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace