Export (0) Print
Expand All
Expand Minimize

WebTestResponseCode Enumeration

Enumerates the HTTP response codes that are defined in RFC 2616 for HTTP 1.1.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public enum WebTestResponseCode

Member nameDescription
NoneHTTP Response code 0.
ContinueHTTP Response code 100.
SwitchingProtocolsHTTP Response code 101.
OkHTTP Response code 200.
CreatedHTTP Response code 201.
AcceptedHTTP Response code 202.
NonAuthoritativeInformationHTTP Response code 203.
NoContentHTTP Response code 204.
ResetContentHTTP Response code 205.
PartialContentHTTP Response code 206.
MultipleChoicesHTTP Response code 300.
MovedHTTP Response code 301.
RedirectHTTP Response code 302.
RedirectMethodHTTP Response code 303.
NotModifiedHTTP Response code 304.
UseProxyHTTP Response code 305.
UnusedHTTP Response code 306.
TemporaryRedirectHTTP Response code 307.
BadRequestHTTP Response code 400.
UnauthorizedHTTP Response code 401.
PaymentRequiredHTTP Response code 402.
ForbiddenHTTP Response code 403.
NotFoundHTTP Response code 404.
MethodNotAllowedHTTP Response code 405.
NotAcceptableHTTP Response code 406.
ProxyAuthenticationRequiredHTTP Response code 407.
RequestTimeoutHTTP Response code 408.
ConflictHTTP Response code 409.
GoneHTTP Response code 410.
LengthRequiredHTTP Response code 411.
PreconditionFailedHTTP Response code 412.
RequestEntityTooLargeHTTP Response code 413.
RequestUriTooLongHTTP Response code 414.
UnsupportedMediaTypeHTTP Response code 415.
RequestedRangeNotSatisfiedHTTP Response code 416.
ExpectationFailedHTTP Response code 417.
InternalServerErrorHTTP Response code 500.
NotImplementedHTTP Response code 501.
BadGatewayHTTP Response code 502.
ServiceUnavailableHTTP Response code 503.
GatewayTimeoutHTTP Response code 504.
HttpVersionNotSupportedHTTP Response code 505.

Community Additions

ADD
Show:
© 2014 Microsoft