Udostępnij za pośrednictwem


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.

Not supported by the WCF Data Services 5.0 client for Silverlight.

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

Syntax

'Declaration
Public Function Execute(Of T) ( _
    continuation As DataServiceQueryContinuation(Of T) _
) As QueryOperationResponse(Of T)
'Usage
Dim instance As DataServiceContext 
Dim continuation As DataServiceQueryContinuation(Of T)
Dim returnValue As QueryOperationResponse(Of T)

returnValue = instance.Execute(continuation)
public QueryOperationResponse<T> Execute<T>(
    DataServiceQueryContinuation<T> continuation
)
public:
generic<typename T>
QueryOperationResponse<T>^ Execute(
    DataServiceQueryContinuation<T>^ continuation
)
member Execute : 
        continuation:DataServiceQueryContinuation<'T> -> QueryOperationResponse<'T> 
JScript does not support generic types and methods.

Type Parameters

  • T
    The type returned by the query.

Parameters

Return Value

Type: System.Data.Services.Client.QueryOperationResponse<T>
The response that contains the next page of data in the query result.

Remarks

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

See Also

Reference

DataServiceContext Class

Execute Overload

System.Data.Services.Client Namespace