ApiController.ResponseMessage(HttpResponseMessage) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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指定之回應的 。
- 屬性