DataServiceQuery<TElement>.BeginExecute 메서드
이 개체 인스턴스가 나타내는 쿼리를 실행하는 비동기 네트워크 작업을 시작합니다.
네임스페이스: System.Data.Services.Client
어셈블리: Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)
구문
‘선언
Public Function BeginExecute ( _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
‘사용 방법
Dim instance As DataServiceQuery
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginExecute(callback, _
state)
public IAsyncResult BeginExecute(
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginExecute(
AsyncCallback^ callback,
Object^ state
)
member BeginExecute :
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginExecute(
callback : AsyncCallback,
state : Object
) : IAsyncResult
매개 변수
- callback
유형: System.AsyncCallback
작업이 완료되면 호출할 대리자입니다.
- state
유형: System.Object
작업 시작과 callback에 의해 정의된 콜백 사이의 상태를 전송하는 데 사용되는 사용자 정의 개체입니다.
반환 값
유형: System.IAsyncResult
비동기 작업의 상태를 나타내는 IAsyncResult입니다.