HttpUnauthorizedResult Class
Represents the result of an unauthorized HTTP request.
System.Object
System.Web.Mvc.ActionResult
System.Web.Mvc.HttpStatusCodeResult
System.Web.Mvc.HttpUnauthorizedResult
System.Web.Mvc.ActionResult
System.Web.Mvc.HttpStatusCodeResult
System.Web.Mvc.HttpUnauthorizedResult
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The HttpUnauthorizedResult type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpUnauthorizedResult() | Initializes a new instance of the HttpUnauthorizedResult class. |
![]() | HttpUnauthorizedResult(String) | Initializes a new instance of the HttpUnauthorizedResult class using the status description. |
| Name | Description | |
|---|---|---|
![]() | StatusCode | Gets the HTTP status code. (Inherited from HttpStatusCodeResult.) |
![]() | StatusDescription | Gets the HTTP status description. (Inherited from HttpStatusCodeResult.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteResult | Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. (Inherited from HttpStatusCodeResult.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
.gif?cs-save-lang=1&cs-lang=csharp)
.gif?cs-save-lang=1&cs-lang=csharp)
.gif?cs-save-lang=1&cs-lang=csharp)