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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.