Partager via


DataServiceQuery<TElement>.EndExecute Method

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

Ends an asynchronous query request to a data service.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public Function EndExecute ( _
    asyncResult As IAsyncResult _
) As IEnumerable(Of TElement)
public IEnumerable<TElement> EndExecute(
    IAsyncResult asyncResult
)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<TElement>
Returns an IEnumerable<T> instance that contains the results of the query operation.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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