AuthenticationChallengeContext.Result Property
Gets or sets the action result to execute.
Namespace: System.Web.Mvc.Filters
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public ActionResult Result { get; set; }
public:
property ActionResult^ Result {
ActionResult^ get();
void set(ActionResult^ value);
}
member Result : ActionResult with get, set
Public Property Result As ActionResult
Property Value
Type: System.Web.Mvc.ActionResult
The challenge response.
Remarks
Authentication filters wishing to add an authentication challenge will often chain the result (set the value to an action result that executes the previous value and then does something additional, such as add a WWW-Authenticate header).
See Also
AuthenticationChallengeContext Class
System.Web.Mvc.Filters Namespace
Return to top