ApiController.ResponseMessage Method (HttpResponseMessage)
Creates a ResponseMessageResult with the specified response.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
protected internal virtual ResponseMessageResult ResponseMessage(
HttpResponseMessage response
)
public protected:
virtual ResponseMessageResult^ ResponseMessage(
HttpResponseMessage^ response
)
abstract ResponseMessage :
response:HttpResponseMessage -> ResponseMessageResult
override ResponseMessage :
response:HttpResponseMessage -> ResponseMessageResult
Protected Friend Overridable Function ResponseMessage (
response As HttpResponseMessage
) As ResponseMessageResult
Parameters
response
Type: System.Net.Http.HttpResponseMessageThe HTTP response message.
Return Value
Type: System.Web.Http.Results.ResponseMessageResult
A ResponseMessageResult for the specified response.
See Also
ApiController Class
System.Web.Http Namespace
Return to top