ContractBase.OnFinalRevoke Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.AddIn.Pipeline
Assembly:  System.AddIn (in System.AddIn.dll)

protected virtual void OnFinalRevoke()

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.

.NET Framework
Available since 3.5
Return to top
Show: