BadHttpRequestException Class

Definition

Represents an HTTP request error

public ref class BadHttpRequestException : System::IO::IOException
public class BadHttpRequestException : System.IO.IOException
type BadHttpRequestException = class
    inherit IOException
Public Class BadHttpRequestException
Inherits IOException
Inheritance
BadHttpRequestException
Derived

Constructors

BadHttpRequestException(String)

Initializes a new instance of the BadHttpRequestException class with the StatusCode set to 400 Bad Request.

BadHttpRequestException(String, Exception)

Initializes a new instance of the BadHttpRequestException class with the StatusCode set to 400 Bad Request.

BadHttpRequestException(String, Int32)

Initializes a new instance of the BadHttpRequestException class.

BadHttpRequestException(String, Int32, Exception)

Initializes a new instance of the BadHttpRequestException class.

Properties

StatusCode

Gets the HTTP status code for this exception.

Applies to