Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Shuts down the current add-in.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.AddInAdapter.v9.0.dll)
Syntax
'Declaration
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
<SecurityPermissionAttribute(SecurityAction.Assert, ControlThread := True)> _
Protected Overridable Sub Shutdown
'Usage
Me.Shutdown()
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction.Assert, ControlThread = true)]
protected virtual void Shutdown()
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction::Assert, ControlThread = true)]
protected:
virtual void Shutdown()
protected function Shutdown()
Remarks
This method enables the add-in to clean up resources.
Add-in developers must decide how to shut down the add-in. This Shutdown method just invokes the shutdown on the add-in view (IEntryPoint) in the situation where the pipeline calls the shutdown code for the add-in.