Поделиться через


AuthorizationContext.Result Property

Gets or sets the result that is returned by an action method.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property Result As ActionResult
    Get
    Set
public ActionResult Result { get; set; }
public:
property ActionResult^ Result {
    ActionResult^ get ();
    void set (ActionResult^ value);
}

Property Value

Type: System.Web.Mvc.ActionResult
The result that is returned by an action method.

Remarks

An action method responds to user input by performing work and returning an action result. An action result represents a command that the framework will perform on behalf of the action method.

See Also

Reference

AuthorizationContext Class

System.Web.Mvc Namespace