DataServiceQuery.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.

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

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

public IEnumerable EndExecute(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System.IAsyncResult

The result from the BeginExecute operation that contains the query results.

Return Value

Type: System.Collections.IEnumerable

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 4.0
Return to top
Show: