BeginInvokeActionMethod Method

AsyncControllerActionInvoker.BeginInvokeActionMethod Method (ControllerContext, ActionDescriptor, IDictionary<String, Object>, AsyncCallback, Object)

 

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

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

protected internal virtual IAsyncResult BeginInvokeActionMethod(
	ControllerContext controllerContext,
	ActionDescriptor actionDescriptor,
	IDictionary<stringobject> parameters,
	AsyncCallback callback,
	object state
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

actionDescriptor
Type: System.Web.Mvc.ActionDescriptor

The action descriptor.

parameters
Type: System.Collections.Generic.IDictionary<StringObject>

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 null.

Return Value

Type: System.IAsyncResult

An object that contains the result of an asynchronous operation.

Return to top
Show:
© 2016 Microsoft