共用方式為


IVsExtensionRepository.DownloadProgressChanged Event

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

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

Syntax

'宣告
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 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

IVsExtensionRepository Interface

Microsoft.VisualStudio.ExtensionManager Namespace