ActionExecutingContext Constructor (ControllerContext, ActionDescriptor, IDictionary(Of String, Object))

Initializes a new instance of the ActionExecutingContext class by using the specified controller context, action descriptor, and action-method parameters.

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

'Declaration
Public Sub New ( _
	controllerContext As ControllerContext, _
	actionDescriptor As ActionDescriptor, _
	actionParameters As IDictionary(Of String, Object) _
)
'Usage
Dim controllerContext As ControllerContext 
Dim actionDescriptor As ActionDescriptor 
Dim actionParameters As IDictionary(Of String, Object)

Dim instance As New ActionExecutingContext(controllerContext, _
	actionDescriptor, actionParameters)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionDescriptor
Type: System.Web.Mvc.ActionDescriptor

The action descriptor.

actionParameters
Type: System.Collections.Generic.IDictionary(Of String, Object)

The action-method parameters.

ExceptionCondition
ArgumentNullException

The ActionParameters or actionDescriptor parameter is Nothing.

Show: