要求をデータ サービスに非同期的に送信して、ページングされたクエリ結果のデータの次のページを取得します。
名前空間: System.Data.Services.Client
アセンブリ: Microsoft.Data.Services.Client (Microsoft.Data.Services.Client.dll)
構文
'宣言
Public Function BeginExecute(Of T) ( _
continuation As DataServiceQueryContinuation(Of T), _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
'使用
Dim instance As DataServiceContext
Dim continuation As DataServiceQueryContinuation(Of T)
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginExecute(continuation, _
callback, state)
public IAsyncResult BeginExecute<T>(
DataServiceQueryContinuation<T> continuation,
AsyncCallback callback,
Object state
)
public:
generic<typename T>
IAsyncResult^ BeginExecute(
DataServiceQueryContinuation<T>^ continuation,
AsyncCallback^ callback,
Object^ state
)
member BeginExecute :
continuation:DataServiceQueryContinuation<'T> *
callback:AsyncCallback *
state:Object -> IAsyncResult
JScript では、ジェネリックな型およびメソッドは使用できません。
型パラメーター
- T
クエリによって返される型。
パラメーター
- continuation
型: System.Data.Services.Client.DataServiceQueryContinuation<T>
データ サービスから返すデータの次のページを表す DataServiceQueryContinuation<T> オブジェクト。
- callback
型: System.AsyncCallback
クライアントが結果を利用できるようになったときに呼び出すデリゲート。
- state
型: System.Object
コールバックに渡されるユーザー定義の状態オブジェクト。
戻り値
型: System.IAsyncResult
操作の状態を表す IAsyncResult。
説明
指定された DataServiceQueryContinuation<T> オブジェクトには URI が含まれており、実行すると、クエリ結果のデータの次のページが返されます。