C# HttpStatusCode

// Decompiled with JetBrains decompiler
// Type: System.Net.HttpStatusCode
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: B48979BD-2A86-4A1A-9CE7-C60BE98F59BF
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll

namespace System.Net
{
  [__DynamicallyInvokable]
  public enum HttpStatusCode
  {
    [__DynamicallyInvokable] Continue = 100,
    [__DynamicallyInvokable] SwitchingProtocols = 101,
    [__DynamicallyInvokable] OK = 200,
    [__DynamicallyInvokable] Created = 201,
    [__DynamicallyInvokable] Accepted = 202,
    [__DynamicallyInvokable] NonAuthoritativeInformation = 203,
    [__DynamicallyInvokable] NoContent = 204,
    [__DynamicallyInvokable] ResetContent = 205,
    [__DynamicallyInvokable] PartialContent = 206,
    [__DynamicallyInvokable] Ambiguous = 300,
    [__DynamicallyInvokable] MultipleChoices = 300,
    [__DynamicallyInvokable] Moved = 301,
    [__DynamicallyInvokable] MovedPermanently = 301,
    [__DynamicallyInvokable] Found = 302,
    [__DynamicallyInvokable] Redirect = 302,
    [__DynamicallyInvokable] RedirectMethod = 303,
    [__DynamicallyInvokable] SeeOther = 303,
    [__DynamicallyInvokable] NotModified = 304,
    [__DynamicallyInvokable] UseProxy = 305,
    [__DynamicallyInvokable] Unused = 306,
    [__DynamicallyInvokable] RedirectKeepVerb = 307,
    [__DynamicallyInvokable] TemporaryRedirect = 307,
    [__DynamicallyInvokable] BadRequest = 400,//请求无效
    [__DynamicallyInvokable] Unauthorized = 401,
    [__DynamicallyInvokable] PaymentRequired = 402,
    [__DynamicallyInvokable] Forbidden = 403,
    [__DynamicallyInvokable] NotFound = 404,
    [__DynamicallyInvokable] MethodNotAllowed = 405,
    [__DynamicallyInvokable] NotAcceptable = 406,
    [__DynamicallyInvokable] ProxyAuthenticationRequired = 407,
    [__DynamicallyInvokable] RequestTimeout = 408,
    [__DynamicallyInvokable] Conflict = 409,
    [__DynamicallyInvokable] Gone = 410,
    [__DynamicallyInvokable] LengthRequired = 411,
    [__DynamicallyInvokable] PreconditionFailed = 412,
    [__DynamicallyInvokable] RequestEntityTooLarge = 413,
    [__DynamicallyInvokable] RequestUriTooLong = 414,
    [__DynamicallyInvokable] UnsupportedMediaType = 415,
    [__DynamicallyInvokable] RequestedRangeNotSatisfiable = 416,
    [__DynamicallyInvokable] ExpectationFailed = 417,
    [__DynamicallyInvokable] UpgradeRequired = 426,
    [__DynamicallyInvokable] InternalServerError = 500,
    [__DynamicallyInvokable] NotImplemented = 501,
    [__DynamicallyInvokable] BadGateway = 502,//错误的网关
    [__DynamicallyInvokable] ServiceUnavailable = 503,//服务不可用
    [__DynamicallyInvokable] GatewayTimeout = 504,//网关超时
    [__DynamicallyInvokable] HttpVersionNotSupported = 505,
  }
}
 

你可能感兴趣的:(C#)