System.Net.HttpStatusCode.BadRequest Field

Equivalent to HTTP status 400. HttpStatusCode.BadRequest indicates that the request could not be understood by the server. HttpStatusCode.BadRequest is sent when no other error is applicable, or if the exact error is unknown or does not have its own error code.

Value: BadRequest

Syntax

HttpStatusCode BadRequest

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0