Freigeben über


AsyncControllerActionInvoker.BeginInvokeAction Methode

Definition

Ruft die asynchrone Aktionsmethode auf, indem der angegebene Controllerkontext, der angegebene Aktionsname, die angegebene Rückrufmethode und der angegebene Zustand verwendet werden.

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

Parameter

controllerContext
ControllerContext

Der Controllerkontext.

actionName
String

Der Name der Aktion

callback
AsyncCallback

Die Rückrufmethode.

state
Object

Ein Objekt, das die von der Rückrufmethode zu verwendenden Informationen enthält. Dieser Parameter kann NULL sein.

Gibt zurück

Ein -Objekt, das das Ergebnis eines asynchronen Vorgangs enthält. ImplementiertBeginInvokeAction(ControllerContext, String, AsyncCallback, Object)

Implementiert

Gilt für: