Sdílet prostřednictvím


BadHttpRequestException Třída

Definice

Upozornění

Moved to Microsoft.AspNetCore.Http.BadHttpRequestException

Upozornění

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

Při přijetí chybně vytvořeného požadavku HTTP dojde k výjimce.

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
Dědičnost
BadHttpRequestException
Dědičnost
BadHttpRequestException
Atributy

Vlastnosti

StatusCode
Zastaralé.
Zastaralé.

Získá stavový kód HTTP pro tuto výjimku.

Metody

Throw(RequestRejectionReason, HttpMethod)
Zastaralé.
Zastaralé.

Při přijetí chybně vytvořeného požadavku HTTP dojde k výjimce.

Platí pro