Compartilhar via


ApiController.ResponseMessage(HttpResponseMessage) Método

Definição

Cria um ResponseMessageResult com a resposta especificada.

[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

Parâmetros

response
HttpResponseMessage

A mensagem da resposta HTTP.

Retornos

Um ResponseMessageResult para a resposta especificada.

Atributos

Aplica-se a