Table of Contents

Class HttpUnauthorizedResult

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Represents the result of an unauthorized HTTP request.

public class HttpUnauthorizedResult : HttpStatusCodeResult
Inheritance
HttpUnauthorizedResult
Inherited Members

Constructors

HttpUnauthorizedResult()

Initializes a new instance of the HttpUnauthorizedResult class.

public HttpUnauthorizedResult()

HttpUnauthorizedResult(string)

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

public HttpUnauthorizedResult(string statusDescription)

Parameters

statusDescription string

The status description.