ContractBase.OnFinalRevoke 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om