ControllerActionInvoker.CreateActionResult Method

Definition

Creates the action result.

protected virtual System.Web.Mvc.ActionResult CreateActionResult (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue);
abstract member CreateActionResult : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * obj -> System.Web.Mvc.ActionResult
override this.CreateActionResult : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * obj -> System.Web.Mvc.ActionResult
Protected Overridable Function CreateActionResult (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor, actionReturnValue As Object) As ActionResult

Parameters

controllerContext
ControllerContext

The controller context.

actionDescriptor
ActionDescriptor

The action descriptor.

actionReturnValue
Object

The action return value.

Returns

The action result object.

Applies to