共用方式為


ActionResult.ExecuteResult Method

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

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

Syntax

'Declaration
Public MustOverride Sub ExecuteResult ( _
    context As ControllerContext _
)
public abstract void ExecuteResult(
    ControllerContext context
)
public:
virtual void ExecuteResult(
    ControllerContext^ context
) abstract

Parameters

  • context
    Type: System.Web.Mvc.ControllerContext
    The context in which the result is executed. The context information includes the controller, HTTP content, request context, and route data.

Remarks

The ExecuteResult method is called by the MCV framework to run the action result using the specified controller context.

See Also

Reference

ActionResult Class

System.Web.Mvc Namespace