Redigera

Dela via


ClientBase<TChannel>.ChannelBase<T>.EndInvoke Method

Definition

Completes an asynchronous invocation by name of a specified method.

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

Parameters

methodName
String

The name of the method called asynchronously.

args
Object[]

An array of arguments for the method invoked.

result
IAsyncResult

The result returned by a call.

Returns

The Object output by the method invoked.

Applies to