System.Net.HttpStatusCode.MethodNotAllowed Field

Equivalent to HTTP status 405. HttpStatusCode.MethodNotAllowed indicates that the request method (POST or GET) is not allowed on the requested resource.

Value: MethodNotAllowed

Syntax

HttpStatusCode MethodNotAllowed

Requirements

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