System.Net.HttpStatusCode.BadGateway Field

Equivalent to HTTP status 502. HttpStatusCode.BadGateway indicates that an intermediate proxy server received a bad response from another proxy or the origin server.

Value: BadGateway

Syntax

HttpStatusCode BadGateway

Requirements

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