Share via


HostShuttingDown Event

Service we proffer to let components know that VS is closing

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.SqlProfile.UI
Assembly:  Microsoft.VisualStudio.Data.Tools.Package.SqlProfile (in Microsoft.VisualStudio.Data.Tools.Package.SqlProfile.dll)

Syntax

'Declaration
Public Event HostShuttingDown As EventHandler(Of EventArgs)
'Usage
Dim instance As DataPackageProfile
Dim handler As EventHandler(Of EventArgs)

AddHandler instance.HostShuttingDown, handler
public event EventHandler<EventArgs> HostShuttingDown
public:
virtual  event EventHandler<EventArgs^>^ HostShuttingDown {
    void add (EventHandler<EventArgs^>^ value);
    void remove (EventHandler<EventArgs^>^ value);
}
abstract HostShuttingDown : IEvent<EventHandler<EventArgs>,
    EventArgs>
override HostShuttingDown : IEvent<EventHandler<EventArgs>,
    EventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

DataPackageProfile Class

Microsoft.VisualStudio.Data.Tools.Package.SqlProfile.UI Namespace