DataServiceQuery<'TElement>.EndExecute Method (IAsyncResult)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

member EndExecute : 
        asyncResult:IAsyncResult -> IEnumerable<'TElement>

Parameters

asyncResult
Type: System.IAsyncResult

The pending asynchronous query request.

Return Value

Type: System.Collections.Generic.IEnumerable<'TElement>

Returns an IEnumerable<'T> that contains the results of the query operation.

Exception Condition
DataServiceQueryException

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

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: