Condividi tramite


ResultExecutingContext Constructor (ControllerContext, ActionResult)

Initializes a new instance of the ResultExecutingContext class by using the specified controller context and action result.

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

Syntax

'Declaration
Public Sub New ( _
    controllerContext As ControllerContext, _
    result As ActionResult _
)
public ResultExecutingContext(
    ControllerContext controllerContext,
    ActionResult result
)
public:
ResultExecutingContext(
    ControllerContext^ controllerContext, 
    ActionResult^ result
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The result parameter is null reference (Nothing in Visual Basic).

See Also

Reference

ResultExecutingContext Class

ResultExecutingContext Overload

System.Web.Mvc Namespace