AsyncActionDescriptor.BeginExecute 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 des paramètres et du contexte du contrôleur spécifiés.
public abstract IAsyncResult BeginExecute(System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IDictionary<string,object> parameters, AsyncCallback callback, object state);
abstract member BeginExecute : System.Web.Mvc.ControllerContext * System.Collections.Generic.IDictionary<string, obj> * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginExecute (controllerContext As ControllerContext, parameters As IDictionary(Of String, Object), callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- controllerContext
- ControllerContext
Contexte du contrôleur.
- parameters
- IDictionary<String,Object>
Paramètres de la méthode d’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'un appel asynchrone.