共用方式為


IVsExtensionManager.InstallCompleted Event

Event that is fired when an InstallAsync operation completes, is canceled, or has an error.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'宣告
Event InstallCompleted As EventHandler(Of InstallCompletedEventArgs)
event EventHandler<InstallCompletedEventArgs> InstallCompleted
 event EventHandler<InstallCompletedEventArgs^>^ InstallCompleted {
    void add (EventHandler<InstallCompletedEventArgs^>^ value);
    void remove (EventHandler<InstallCompletedEventArgs^>^ value);
}
abstract InstallCompleted : IEvent<EventHandler<InstallCompletedEventArgs>,
    InstallCompletedEventArgs>
JScript does not support events.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace