BadHttpRequestException Class

Definition

Caution

Moved to Microsoft.AspNetCore.Http.BadHttpRequestException

Caution

Moved to Microsoft.AspNetCore.Http.BadHttpRequestException. See https://aka.ms/badhttprequestexception for details.

An exception thrown when a malformed http request has been received.

public ref class BadHttpRequestException sealed : System::IO::IOException
public ref class BadHttpRequestException sealed : Microsoft::AspNetCore::Http::BadHttpRequestException
public sealed class BadHttpRequestException : System.IO.IOException
[System.Obsolete("Moved to Microsoft.AspNetCore.Http.BadHttpRequestException")]
public sealed class BadHttpRequestException : Microsoft.AspNetCore.Http.BadHttpRequestException
[System.Obsolete("Moved to Microsoft.AspNetCore.Http.BadHttpRequestException. See https://aka.ms/badhttprequestexception for details.")]
public sealed class BadHttpRequestException : Microsoft.AspNetCore.Http.BadHttpRequestException
type BadHttpRequestException = class
    inherit IOException
[<System.Obsolete("Moved to Microsoft.AspNetCore.Http.BadHttpRequestException")>]
type BadHttpRequestException = class
    inherit BadHttpRequestException
[<System.Obsolete("Moved to Microsoft.AspNetCore.Http.BadHttpRequestException. See https://aka.ms/badhttprequestexception for details.")>]
type BadHttpRequestException = class
    inherit BadHttpRequestException
Public NotInheritable Class BadHttpRequestException
Inherits IOException
Public NotInheritable Class BadHttpRequestException
Inherits BadHttpRequestException
Inheritance
BadHttpRequestException
Inheritance
BadHttpRequestException
Attributes

Properties

StatusCode

Gets the HTTP status code for this exception.

Methods

Throw(RequestRejectionReason, HttpMethod)

Applies to