Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpStatusCodeResult Constructor (Int32, 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 HttpStatusCodeResult(
	int statusCode,
	string statusDescription


Type: System.Int32
The status code.
Type: System.String
The status description.

A Visual Studio project with source code is available to accompany this topic: Download.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.