IEntryPointContract2.Shutdown Method
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Performs operations that need to be completed before the add-in assembly unloads, such as clean-up of resources.
Namespace: Microsoft.VisualStudio.Tools.Applications.Contract
Assembly: Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)
Syntax
'Declaration
Sub Shutdown
'Usage
Dim instance As IEntryPointContract2
instance.Shutdown()
void Shutdown()
void Shutdown()
function Shutdown()
Remarks
To unload an add-in, the host application calls IEntryPoint.OnShutdown to perform any clean-up operations, which triggers a call to Shutdown.
Provide an implementation for the clean-up operations in the host application integration code by implementing IEntryPoint.OnShutdown.
See Also
Reference
IEntryPointContract2 Interface
Microsoft.VisualStudio.Tools.Applications.Contract Namespace