HttpStatusCodeResult Constructor (HttpStatusCode, String)
Initializes a new instance of the HttpStatusCodeResult class using a status code and status description.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public function HttpStatusCodeResult( statusCode : HttpStatusCode, statusDescription : String )
Parameters
- statusCode
- Type: System.Net.HttpStatusCode
The status code.
- statusDescription
- Type: System.String
The status description.
Show: