Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpUnauthorizedResult Constructor (String)
Collapse the table of content
Expand the table of content

HttpUnauthorizedResult Constructor (String)

Initializes a new instance of the HttpUnauthorizedResult class using the status description.

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

public HttpUnauthorizedResult(
	string statusDescription
)

Parameters

statusDescription
Type: System.String

The status description.

Show:
© 2015 Microsoft