The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ApiController.StatusCode Method (HttpStatusCode)
Creates a T:System.Web.Http.StatusCodeResult with the specified status code.
Assembly: System.Web.Http (in System.Web.Http.dll)
Parameters
- status
-
Type:
System.Net.HttpStatusCode
The HTTP status code for the response message
Return Value
Type: System.Web.Http.Results.StatusCodeResultA T:System.Web.Http.StatusCodeResult with the specified status code.
Show: