Condividi tramite


ApiController.ResponseMessage(HttpResponseMessage) Metodo

Definizione

Crea un oggetto ResponseMessageResult con la risposta specificata.

[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

Parametri

response
HttpResponseMessage

Messaggio di risposta HTTP.

Restituisce

Oggetto ResponseMessageResult per la risposta specificata.

Attributi

Si applica a