TaskAsyncActionDescriptor.BeginExecute Method
Invokes the asynchronous action method using the specified parameters, controller context callback and state.
Namespace: System.Web.Mvc.Async
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Overrides Function BeginExecute ( _ controllerContext As ControllerContext, _ parameters As IDictionary(Of String, Object), _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult 'Usage Dim instance As TaskAsyncActionDescriptor Dim controllerContext As ControllerContext Dim parameters As IDictionary(Of String, Object) Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginExecute(controllerContext, _ parameters, callback, state)
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- parameters
- Type: System.Collections.Generic.IDictionary(Of String, Object)
The parameters of the action method.
- callback
- Type: System.AsyncCallback
The optional callback method.
- state
- Type: System.Object
An object that contains information to be used by the callback method. This parameter can be Nothing.
Show: