共用方式為


HttpStatusCode type

定義 HttpStatusCode 的值。
KnownHttpStatusCode 可與 HttpStatusCode 交換使用,此列舉包含服務支援的已知值。

服務支援的已知值

繼續
SwitchingProtocols
確定
建立日期
接受
NonAuthoritativeInformation
NoContent
ResetContent
PartialContent
MultipleChoices
模糊
MovedPermanently

已找到
重新導向
SeeOther
RedirectMethod
NotModified
UseProxy
未使用
TemporaryRedirect
RedirectKeepVerb
BadRequest
未授權
PaymentRequired
禁止
NotFound
MethodNotAllowed
NotAcceptable
ProxyAuthenticationRequired
RequestTimeout
衝突

LengthRequired
PreconditionFailed
RequestEntityTooLarge
RequestUriTooLong
UnsupportedMediaType
RequestedRangeNotSatisfiable
ExpectationFailed
UpgradeRequired
InternalServerError
NotImplemented
BadGateway
ServiceUnavailable
GatewayTimeout
HttpVersionNotSupported

type HttpStatusCode = string