DataServiceContext.Execute<T> Method (DataServiceQueryContinuation<T>)

 

Sends a request to the data service to retrieve the next page of data in a paged query result.

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

public QueryOperationResponse<T> Execute<T>(
	DataServiceQueryContinuation<T> continuation
)

Parameters

continuation
Type: System.Data.Services.Client.DataServiceQueryContinuation<T>

A DataServiceQueryContinuation<T> object that represents the next page of data to return from the data service.

Return Value

Type: System.Data.Services.Client.QueryOperationResponse<T>

The response that contains the next page of data in the query result.

Type Parameters

T

The type returned by the query.

Exception Condition
InvalidOperationException

When an error is raised either during execution of the request or when it converts the contents of the response message into objects.

The supplied DataServiceQueryContinuation<T> object contains the URI that, when executed, returns the next page of data in the query result.

.NET Framework
Available since 3.5
Return to top
Show: