共用方式為


ContentResult.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 Overrides Sub ExecuteResult ( _
    context As ControllerContext _
)
public override void ExecuteResult(
    ControllerContext context
)
public:
virtual void ExecuteResult(
    ControllerContext^ context
) override

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ContentResult Class

System.Web.Mvc Namespace