Partager via


OleComponent.DisposeManagedResources Method

Definition

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).

Applies to