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