ClientBase<TChannel>.ChannelBase<T>.BeginInvoke Methode

Definitie

Hiermee start u een asynchrone aanroep van een opgegeven methode op naam.

protected:
 IAsyncResult ^ BeginInvoke(System::String ^ methodName, cli::array <System::Object ^> ^ args, AsyncCallback ^ callback, System::Object ^ state);
protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state);
member this.BeginInvoke : string * obj[] * AsyncCallback * obj -> IAsyncResult
Protected Function BeginInvoke (methodName As String, args As Object(), callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

methodName
String

De naam van de methode die asynchroon moet worden aangeroepen.

args
Object[]

Een matrix met argumenten voor de methode die is aangeroepen.

callback
AsyncCallback

De AsyncCallback gedelegeerde.

state
Object

Het statusobject.

Retouren

De IAsyncResult methode die verwijst naar de asynchrone methode die is aangeroepen.

Van toepassing op