共用方式為


IncomingWebResponseContext.StatusCode 屬性

定義

取得傳入 Web 回應的狀態碼。

public:
 property System::Net::HttpStatusCode StatusCode { System::Net::HttpStatusCode get(); };
public System.Net.HttpStatusCode StatusCode { get; }
member this.StatusCode : System.Net.HttpStatusCode
Public ReadOnly Property StatusCode As HttpStatusCode

屬性值

HttpStatusCode 執行個體,包含傳入 Web 回應的狀態碼。

適用於