共用方式為


BadHttpRequestException 類別

定義

警告

Moved to Microsoft.AspNetCore.Http.BadHttpRequestException

警告

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

收到格式不正確的 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
繼承
BadHttpRequestException
繼承
BadHttpRequestException
屬性

屬性

StatusCode
已淘汰.
已淘汰.

取得這個例外狀況的 HTTP 狀態碼。

方法

Throw(RequestRejectionReason, HttpMethod)
已淘汰.
已淘汰.

收到格式不正確的 HTTP 要求時,所擲回的例外狀況。

適用於