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 请求时引发的异常。

适用于