AsyncControllerActionInvoker.BeginInvokeActionMethod Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelle la méthode d'action asynchrone à l'aide du contexte du contrôleur spécifié, du descripteur de l'action, des paramètres, de la méthode de rappel et de l'état.
protected internal virtual IAsyncResult BeginInvokeActionMethod(System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IDictionary<string,object> parameters, AsyncCallback callback, object state);
abstract member BeginInvokeActionMethod : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
override this.BeginInvokeActionMethod : System.Web.Mvc.ControllerContext * System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
Protected Friend Overridable Function BeginInvokeActionMethod (controllerContext As ControllerContext, actionDescriptor As ActionDescriptor, parameters As IDictionary(Of String, Object), callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- controllerContext
- ControllerContext
Contexte du contrôleur.
- actionDescriptor
- ActionDescriptor
Descripteur de l'action.
- parameters
- IDictionary<String,Object>
Paramètres pour la méthode d'action asynchrone.
- 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.