AsyncControllerActionInvoker.BeginInvokeAction 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 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)