你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HttpStatusCode 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义 HttpStatusCode 的值。
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum HttpStatusCode
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type HttpStatusCode =
Public Enum HttpStatusCode
- 继承
-
HttpStatusCode
- 属性
-
Newtonsoft.Json.JsonConverterAttribute
字段
Accepted | 4 | |
Ambiguous | 10 | |
BadGateway | 43 | |
BadRequest | 22 | |
Conflict | 31 | |
Continue | 0 | |
Created | 3 | |
ExpectationFailed | 39 | |
Forbidden | 25 | |
Found | 13 | |
GatewayTimeout | 45 | |
Gone | 32 | |
HttpVersionNotSupported | 46 | |
InternalServerError | 41 | |
LengthRequired | 33 | |
MethodNotAllowed | 27 | |
Moved | 12 | |
MovedPermanently | 11 | |
MultipleChoices | 9 | |
NoContent | 6 | |
NonAuthoritativeInformation | 5 | |
NotAcceptable | 28 | |
NotFound | 26 | |
NotImplemented | 42 | |
NotModified | 17 | |
OK | 2 | |
PartialContent | 8 | |
PaymentRequired | 24 | |
PreconditionFailed | 34 | |
ProxyAuthenticationRequired | 29 | |
Redirect | 14 | |
RedirectKeepVerb | 21 | |
RedirectMethod | 16 | |
RequestedRangeNotSatisfiable | 38 | |
RequestEntityTooLarge | 35 | |
RequestTimeout | 30 | |
RequestUriTooLong | 36 | |
ResetContent | 7 | |
SeeOther | 15 | |
ServiceUnavailable | 44 | |
SwitchingProtocols | 1 | |
TemporaryRedirect | 20 | |
Unauthorized | 23 | |
UnsupportedMediaType | 37 | |
Unused | 19 | |
UpgradeRequired | 40 | |
UseProxy | 18 |