HttpStatusCodeResult.StatusCode Property

 

Gets the HTTP status code.

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

public int StatusCode { get; private set; }

Property Value

Type: System.Int32

The HTTP status code.

Return to top
Show: