System.Net.HttpStatusCode.PreconditionFailed Field

Equivalent to HTTP status 412. HttpStatusCode.PreconditionFailed indicates that a condition set for this request failed, and the request cannot be carried out. Conditions are set with conditional request headers like If-Match, If-None-Match, or If-Unmodified-Since.

Value: PreconditionFailed

Syntax

HttpStatusCode PreconditionFailed

Requirements

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