Udostępnij za pośrednictwem


BadHttpRequestException Klasa

Definicja

Przestroga

Moved to Microsoft.AspNetCore.Http.BadHttpRequestException

Przestroga

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

Wyjątek zgłaszany, gdy odebrano źle sformułowane żądanie HTTP.

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
Dziedziczenie
BadHttpRequestException
Dziedziczenie
BadHttpRequestException
Atrybuty

Właściwości

StatusCode
Przestarzałe.
Przestarzałe.

Pobiera kod stanu HTTP dla tego wyjątku.

Metody

Throw(RequestRejectionReason, HttpMethod)
Przestarzałe.
Przestarzałe.

Wyjątek zgłaszany, gdy odebrano źle sformułowane żądanie HTTP.

Dotyczy