Share via


DataServiceQuery.EndExecute Method

Called to complete the asynchronous operation of executing a data service query.

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

Syntax

'Declaration
Public Function EndExecute ( _
    asyncResult As IAsyncResult _
) As IEnumerable
'Usage
Dim instance As DataServiceQuery 
Dim asyncResult As IAsyncResult 
Dim returnValue As IEnumerable 

returnValue = instance.EndExecute(asyncResult)
public IEnumerable EndExecute(
    IAsyncResult asyncResult
)
public:
IEnumerable^ EndExecute(
    IAsyncResult^ asyncResult
)
member EndExecute : 
        asyncResult:IAsyncResult -> IEnumerable
public function EndExecute(
    asyncResult : IAsyncResult
) : IEnumerable

Parameters

Return Value

Type: System.Collections.IEnumerable
An IEnumerable<T> that contains the results of the query operation.

Exceptions

Exception Condition
DataServiceQueryException

When the data service returns an HTTP 404: Resource Not Found error.

See Also

Reference

DataServiceQuery Class

System.Data.Services.Client Namespace