共用方式為


HttpResponseMessage 建構函式

定義

多載

HttpResponseMessage()

初始化 HttpResponseMessage 類別的新實例。

HttpResponseMessage(HttpStatusCode)

使用特定的HttpStatusCode,初始化HttpResponseMessage類別的新實例。

HttpResponseMessage()

初始化 HttpResponseMessage 類別的新實例。

public:
 HttpResponseMessage();
 HttpResponseMessage();
public HttpResponseMessage();
function HttpResponseMessage()
Public Sub New ()

另請參閱

適用於

HttpResponseMessage(HttpStatusCode)

使用特定的HttpStatusCode,初始化HttpResponseMessage類別的新實例。

public:
 HttpResponseMessage(HttpStatusCode statusCode);
 HttpResponseMessage(HttpStatusCode const& statusCode);
public HttpResponseMessage(HttpStatusCode statusCode);
function HttpResponseMessage(statusCode)
Public Sub New (statusCode As HttpStatusCode)

參數

statusCode
HttpStatusCode

HTTP 回應的狀態碼。

另請參閱

適用於