Freigeben über


WebTestResponseCode-Enumeration

Listet die in RFC 2616 für HTTP 1.1 definierten HTTP-Antwortcodes auf.

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

Syntax

'Declaration
<TypeConverterAttribute(GetType(WebTestResponseCodeConverter))> _
Public Enumeration WebTestResponseCode
[TypeConverterAttribute(typeof(WebTestResponseCodeConverter))]
public enum WebTestResponseCode
[TypeConverterAttribute(typeof(WebTestResponseCodeConverter))]
public enum class WebTestResponseCode
[<TypeConverterAttribute(typeof(WebTestResponseCodeConverter))>]
type WebTestResponseCode
public enum WebTestResponseCode

Member

Membername Beschreibung
Accepted HTTP-Antwortcode 202.
BadGateway HTTP-Antwortcode 502.
BadRequest HTTP-Antwortcode 400.
Conflict HTTP-Antwortcode 409.
Continue HTTP-Antwortcode 100.
Created HTTP-Antwortcode 201.
ExpectationFailed HTTP-Antwortcode 417.
Forbidden HTTP-Antwortcode 403.
GatewayTimeout HTTP-Antwortcode 504.
Gone HTTP-Antwortcode 410.
HttpVersionNotSupported HTTP-Antwortcode 505.
InternalServerError HTTP-Antwortcode 500.
LengthRequired HTTP-Antwortcode 411.
MethodNotAllowed HTTP-Antwortcode 405.
Moved HTTP-Antwortcode 301.
MultipleChoices HTTP-Antwortcode 300.
NoContent HTTP-Antwortcode 204.
NonAuthoritativeInformation HTTP-Antwortcode 203.
None HTTP-Antwortcode 0.
NotAcceptable HTTP-Antwortcode 406.
NotFound HTTP-Antwortcode 404.
NotImplemented HTTP-Antwortcode 501.
NotModified HTTP-Antwortcode 304.
Ok HTTP-Antwortcode 200.
PartialContent HTTP-Antwortcode 206.
PaymentRequired HTTP-Antwortcode 402.
PreconditionFailed HTTP-Antwortcode 412.
ProxyAuthenticationRequired HTTP-Antwortcode 407.
Redirect HTTP-Antwortcode 302.
RedirectMethod HTTP-Antwortcode 303.
RequestedRangeNotSatisfied HTTP-Antwortcode 416.
RequestEntityTooLarge HTTP-Antwortcode 413.
RequestTimeout HTTP-Antwortcode 408.
RequestUriTooLong HTTP-Antwortcode 414.
ResetContent HTTP-Antwortcode 205.
ServiceUnavailable HTTP-Antwortcode 503.
SwitchingProtocols HTTP-Antwortcode 101.
TemporaryRedirect HTTP-Antwortcode 307.
Unauthorized HTTP-Antwortcode 401.
UnsupportedMediaType HTTP-Antwortcode 415.
Unused HTTP-Antwortcode 306.
UseProxy HTTP-Antwortcode 305.

Siehe auch

Referenz

Microsoft.VisualStudio.TestTools.WebTesting-Namespace