HttpUnauthorizedResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of an unauthorized HTTP request.
public class HttpUnauthorizedResult : System.Web.Mvc.HttpStatusCodeResult
type HttpUnauthorizedResult = class
inherit HttpStatusCodeResult
Public Class HttpUnauthorizedResult
Inherits HttpStatusCodeResult
- Inheritance
Constructors
HttpUnauthorizedResult() |
Initializes a new instance of the HttpUnauthorizedResult class. |
HttpUnauthorizedResult(String) |
Initializes a new instance of the HttpUnauthorizedResult class using the status description. |
Properties
StatusCode |
Gets the HTTP status code. (Inherited from HttpStatusCodeResult) |
StatusDescription |
Gets the HTTP status description. (Inherited from HttpStatusCodeResult) |
Methods
ExecuteResult(ControllerContext) |
Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. (Inherited from HttpStatusCodeResult) |