System.Net.HttpStatusCode.NotAcceptable Field

Equivalent to HTTP status 406. HttpStatusCode.NotAcceptable indicates that the client has indicated with Accept headers that it will not accept any of the available representations of the resource.

Value: NotAcceptable

Syntax

HttpStatusCode NotAcceptable

Requirements

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