Прочетете на английски Редактиране

Споделяне чрез


ContractBase.OnFinalRevoke Method

Definition

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

C#
protected virtual void 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

Продукт Версии
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1