StoreSendRequestResult.HttpStatusCode 属性

定义

获取请求的 HTTP 状态代码。

public:
 property HttpStatusCode HttpStatusCode { HttpStatusCode get(); };
HttpStatusCode HttpStatusCode();
public HttpStatusCode HttpStatusCode { get; }
var httpStatusCode = storeSendRequestResult.httpStatusCode;
Public ReadOnly Property HttpStatusCode As HttpStatusCode

属性值

请求的 HTTP 状态代码。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Services.Store.StoreContract (在 v2.0 中引入)

适用于

另请参阅