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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για