BadHttpRequestException 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 繼承
- 屬性
屬性
StatusCode |
已淘汰.
已淘汰.
取得這個例外狀況的 HTTP 狀態碼。 |
方法
Throw(RequestRejectionReason, HttpMethod) |
已淘汰.
已淘汰.
收到格式不正確的 HTTP 要求時,所擲回的例外狀況。 |