DownloadOperation.CurrentWebErrorStatus 属性

定义

传输的 WebErrorStatus,可在 DownloadOperation 的生存期内对其进行监视。

public:
 property IReference<WebErrorStatus> ^ CurrentWebErrorStatus { IReference<WebErrorStatus> ^ get(); };
IReference<WebErrorStatus> CurrentWebErrorStatus();
public System.Nullable<WebErrorStatus> CurrentWebErrorStatus { get; }
var iReference = downloadOperation.currentWebErrorStatus;
Public ReadOnly Property CurrentWebErrorStatus As Nullable(Of WebErrorStatus)

属性值

WebErrorStatus 错误。

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

示例

WebErrorStatusDownloadOperation

适用于