This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use.
Learn more
Developer Network
Developer Network
Developer
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
SharePoint Server 2013 resources
SQL Server 2014 Express resources
Windows Server 2012 resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
System.Web.Mvc
HttpStatusCodeResult Class
HttpStatusCodeResult Properties
HttpStatusCodeResult Properties
StatusCode Property
StatusCode Property
StatusCode Property
StatusCode Property
StatusDescription Property
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
HttpStatusCodeResult
.
StatusCode Property
Gets the HTTP status code.
Namespace:
System.Web.Mvc
Assembly:
System.Web.Mvc
(in System.Web.Mvc.dll)
Syntax
C#
C++
F#
JScript
VB
Copy
public
int
StatusCode {
get
;
private
set
; }
Property Value
Type:
System
.
Int32
The HTTP status code.
See Also
Reference
HttpStatusCodeResult Class
System.Web.Mvc Namespace
Show:
Inherited
Protected
Print
Export (
0
)
Print
Share
IN THIS ARTICLE