Export (0) Print
Expand All

AsyncControllerActionInvoker.BeginInvokeActionMethodWithFilters Method

Invokes the asynchronous action method by using the specified controller context, filters, action descriptor, parameters, callback method, and state.

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

'Declaration
Protected Friend Overridable Function BeginInvokeActionMethodWithFilters ( _
	controllerContext As ControllerContext, _
	filters As IList(Of IActionFilter), _
	actionDescriptor As ActionDescriptor, _
	parameters As IDictionary(Of String, Object), _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
'Usage
Dim controllerContext As ControllerContext 
Dim filters As IList(Of IActionFilter)
Dim actionDescriptor As ActionDescriptor 
Dim parameters As IDictionary(Of String, Object)
Dim callback As AsyncCallback 
Dim state As Object 
Dim returnValue As IAsyncResult 

returnValue = Me.BeginInvokeActionMethodWithFilters(controllerContext, _
	filters, actionDescriptor, parameters, _
	callback, state)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

filters
Type: System.Collections.Generic.IList(Of IActionFilter)

The filters.

actionDescriptor
Type: System.Web.Mvc.ActionDescriptor

The action descriptor.

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

The parameters for the asynchronous action method.

callback
Type: System.AsyncCallback

The callback method.

state
Type: System.Object

An object that contains information to be used by the callback method. This parameter can be Nothing.

Return Value

Type: System.IAsyncResult
An object that contains the result of an asynchronous operation.
Show:
© 2015 Microsoft