ApiController.ResponseMessage(HttpResponseMessage) Yöntem

Tanım

Belirtilen yanıtla bir ResponseMessageResult oluşturur.

[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

Parametreler

response
HttpResponseMessage

HTTP yanıt iletisi.

Döndürülenler

Belirtilen yanıt için A ResponseMessageResult .

Öznitelikler

Şunlara uygulanır