Partager via


AsyncControllerActionInvoker.BeginInvokeAction Méthode

Définition

Appelle la méthode d'action asynchrone à l'aide du contexte du contrôleur spécifié, du nom d'action, de la méthode de rappel et de l'état.

public virtual IAsyncResult BeginInvokeAction(System.Web.Mvc.ControllerContext controllerContext, string actionName, AsyncCallback callback, object state);
abstract member BeginInvokeAction : System.Web.Mvc.ControllerContext * string * AsyncCallback * obj -> IAsyncResult
override this.BeginInvokeAction : System.Web.Mvc.ControllerContext * string * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginInvokeAction (controllerContext As ControllerContext, actionName As String, callback As AsyncCallback, state As Object) As IAsyncResult

Paramètres

controllerContext
ControllerContext

Contexte du contrôleur.

actionName
String

Nom de l’action.

callback
AsyncCallback

Méthode de rappel.

state
Object

Objet contenant les informations que la méthode de rappel doit utiliser. Ce paramètre peut avoir la valeur Null.

Retours

Objet qui contient le résultat d’une opération asynchrone. ImplémenteBeginInvokeAction(ControllerContext, String, AsyncCallback, Object)

Implémente

S’applique à