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)

[TypeConverterAttribute(typeof(WebTestResponseCodeConverter))]
public enum WebTestResponseCode

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