共用方式為


IVsExtensionRepository.DownloadCompleted 事件

Event that is fired at the completion of a download.

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

語法

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

備註

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

The IInstallableExtension that represents the VSIX package is returned as the Payload property of the DownloadCompletedEventArgs.

.NET Framework 安全性

請參閱

參考

IVsExtensionRepository 介面

Microsoft.VisualStudio.ExtensionManager 命名空間