Partager via


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

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Completes an asynchronous invocation by name of a specified method.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Syntax

'Declaration
Protected Function EndInvoke ( _
    methodName As String, _
    args As Object(), _
    result As IAsyncResult _
) As Object
protected Object EndInvoke(
    string methodName,
    Object[] args,
    IAsyncResult result
)

Parameters

  • methodName
    Type: System.String
    The name of the method called asynchronously.
  • args
    Type: array<System.Object[]
    An array of arguments for the method invoked.

Return Value

Type: System.Object
The Object output by the method invoked.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.