Redigera

Dela via


ContractBase.OnFinalRevoke Method

Definition

When overridden in an add-in-side adapter, releases native resources held by the adapter.

protected:
 virtual void OnFinalRevoke();
protected virtual void OnFinalRevoke ();
abstract member OnFinalRevoke : unit -> unit
override this.OnFinalRevoke : unit -> unit
Protected Overridable Sub OnFinalRevoke ()

Remarks

This method is called by the system when all the lifetime tokens that have been acquired from the current ContractBase instance have been revoked. Use this method to clean up any native resources held by the adapter, and to signal to the adapted views that they should do the same.

Applies to