次の方法で共有


ApiController.ResponseMessage(HttpResponseMessage) メソッド

定義

ResponseMessageResult指定した応答を使用して を作成します。

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual System.Web.Http.ResponseMessageResult ResponseMessage (System.Net.Http.HttpResponseMessage response);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member ResponseMessage : System.Net.Http.HttpResponseMessage -> System.Web.Http.ResponseMessageResult
override this.ResponseMessage : System.Net.Http.HttpResponseMessage -> System.Web.Http.ResponseMessageResult
Public Overridable Function ResponseMessage (response As HttpResponseMessage) As ResponseMessageResult

パラメーター

response
HttpResponseMessage

HTTP 応答メッセージ。

戻り値

ResponseMessageResult指定した応答の 。

属性

適用対象