DataServiceContext.BeginExecute<T> 메서드 (DataServiceQueryContinuation<T>, AsyncCallback, Object)
데이터 서비스에 페이징된 쿼리 결과의 다음 데이터 페이지를 검색하라는 요청을 비동기적으로 보냅니다.
네임스페이스: 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가 포함되어 있습니다.