Partager via


HttpResponseException.Response Property

Gets the HTTP response to return to the client.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property Response As HttpResponseMessage
    Get
    Private Set
'Usage
Dim instance As HttpResponseException
Dim value As HttpResponseMessage

value = instance.Response
public HttpResponseMessage Response { get; private set; }
public:
property HttpResponseMessage^ Response {
    HttpResponseMessage^ get ();
    private: void set (HttpResponseMessage^ value);
}
member Response : HttpResponseMessage with get, private set
function get Response () : HttpResponseMessage
private function set Response (value : HttpResponseMessage)

Property Value

Type: HttpResponseMessage
The HttpResponseMessage that represents the HTTP response.

See Also

Reference

HttpResponseException Class

System.Web.Http Namespace