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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。