HttpStatusCodeResult.StatusCode Property

Gets the HTTP status code.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

member StatusCode : int with get, private set

Property Value

Type: System.Int32
The HTTP status code.
Show: