共用方式為


IVsExtensionManager.InstallProgressChanged Event

Event that is fired as progress is made after an installation is started by using the InstallAsync method.

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

Syntax

'宣告
Event InstallProgressChanged As EventHandler(Of InstallProgressChangedEventArgs)
event EventHandler<InstallProgressChangedEventArgs> InstallProgressChanged
 event EventHandler<InstallProgressChangedEventArgs^>^ InstallProgressChanged {
    void add (EventHandler<InstallProgressChangedEventArgs^>^ value);
    void remove (EventHandler<InstallProgressChangedEventArgs^>^ value);
}
abstract InstallProgressChanged : IEvent<EventHandler<InstallProgressChangedEventArgs>,
    InstallProgressChangedEventArgs>
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