HttpUnauthorizedResult HttpUnauthorizedResult HttpUnauthorizedResult Class

Definition

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() HttpUnauthorizedResult() HttpUnauthorizedResult()

Initializes a new instance of the HttpUnauthorizedResult class.

HttpUnauthorizedResult(String) HttpUnauthorizedResult(String) HttpUnauthorizedResult(String)

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

Methods

ExecuteResult(ControllerContext) ExecuteResult(ControllerContext) ExecuteResult(ControllerContext)

Enables processing of the result of an action method by a custom type that inherits from the ActionResult class.

(Inherited from HttpStatusCodeResult)

Properties

StatusCode StatusCode StatusCode

Gets the HTTP status code.

(Inherited from HttpStatusCodeResult)
StatusDescription StatusDescription StatusDescription

Gets the HTTP status description.

(Inherited from HttpStatusCodeResult)

Applies to