共用方式為


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指定之回應的 。

屬性

適用於