共用方式為


IVsExtensionRepository.DownloadProgressChanged 事件

Event that is fired when a download is completed, is canceled, or has an error.

命名空間:  Microsoft.VisualStudio.ExtensionManager
組件:  Microsoft.VisualStudio.ExtensionManager (在 Microsoft.VisualStudio.ExtensionManager.dll 中)

語法

'宣告
Event DownloadProgressChanged As EventHandler(Of DownloadProgressChangedEventArgs)
event EventHandler<DownloadProgressChangedEventArgs> DownloadProgressChanged
event EventHandler<DownloadProgressChangedEventArgs^>^ DownloadProgressChanged {
    void add (EventHandler<DownloadProgressChangedEventArgs^>^ value);
    void remove (EventHandler<DownloadProgressChangedEventArgs^>^ value);
}
abstract DownloadProgressChanged : IEvent<EventHandler<DownloadProgressChangedEventArgs>,
    DownloadProgressChangedEventArgs>
JScript 不支援事件。

備註

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

.NET Framework 安全性

請參閱

參考

IVsExtensionRepository 介面

Microsoft.VisualStudio.ExtensionManager 命名空間