OleComponent.DisposeManagedResources Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disposes of this object, calling FRevokeComponent(UInt32) if our manager field is non-null and our componentCookie field is not 0.
protected:
override void DisposeManagedResources();
protected:
override void DisposeManagedResources();
override void DisposeManagedResources();
protected override void DisposeManagedResources ();
override this.DisposeManagedResources : unit -> unit
Protected Overrides Sub DisposeManagedResources ()
Exceptions
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(UInt32) returns FALSE (0).