DownloadProgressEventHandler 委托

定义

表示将处理 DownloadProgress 事件的方法。

public delegate void DownloadProgressEventHandler(Platform::Object ^ sender, DownloadProgressEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(448458275, 29934, 19655, 153, 186, 177, 113, 227, 205, 166, 30)]
class DownloadProgressEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(448458275, 29934, 19655, 153, 186, 177, 113, 227, 205, 166, 30)]
public delegate void DownloadProgressEventHandler(object sender, DownloadProgressEventArgs e);
Public Delegate Sub DownloadProgressEventHandler(sender As Object, e As DownloadProgressEventArgs)

参数

sender
Object

Platform::Object

IInspectable

附加处理程序的对象。

e
DownloadProgressEventArgs

事件的事件数据。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于