Dela via


HttpResponseException Class

Definition

An exception that allows for a given HttpResponseMessage to be returned to the client.

public class HttpResponseException : Exception
type HttpResponseException = class
    inherit Exception
Public Class HttpResponseException
Inherits Exception
Inheritance
HttpResponseException

Constructors

HttpResponseException(HttpResponseMessage)

Initializes a new instance of the HttpResponseException class.

HttpResponseException(HttpStatusCode)

Initializes a new instance of the HttpResponseException class.

Properties

Response

Gets the HttpResponseMessage to return to the client.

Applies to