제공된 쿼리 연속 개체를 사용하여 데이터 서비스에서 다음 관련 엔터티 페이지를 비동기적으로 로드합니다.
네임스페이스: System.Data.Services.Client
어셈블리: Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)
구문
‘선언
Public Function BeginLoadProperty ( _
entity As Object, _
propertyName As String, _
continuation As DataServiceQueryContinuation, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
‘사용 방법
Dim instance As DataServiceContext
Dim entity As Object
Dim propertyName As String
Dim continuation As DataServiceQueryContinuation
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginLoadProperty(entity, _
propertyName, continuation, callback, _
state)
public IAsyncResult BeginLoadProperty(
Object entity,
string propertyName,
DataServiceQueryContinuation continuation,
AsyncCallback callback,
Object state
)
public:
IAsyncResult^ BeginLoadProperty(
Object^ entity,
String^ propertyName,
DataServiceQueryContinuation^ continuation,
AsyncCallback^ callback,
Object^ state
)
member BeginLoadProperty :
entity:Object *
propertyName:string *
continuation:DataServiceQueryContinuation *
callback:AsyncCallback *
state:Object -> IAsyncResult
public function BeginLoadProperty(
entity : Object,
propertyName : String,
continuation : DataServiceQueryContinuation,
callback : AsyncCallback,
state : Object
) : IAsyncResult
매개 변수
- entity
유형: System.Object
로드할 속성을 포함하는 엔터티입니다.
- propertyName
유형: System.String
로드할 지정된 엔터티의 속성 이름입니다.
- continuation
유형: System.Data.Services.Client.DataServiceQueryContinuation
데이터 서비스에서 반환할 다음 관련 엔터티 데이터 페이지를 나타내는 DataServiceQueryContinuation<T> 개체입니다.
- callback
유형: System.AsyncCallback
결과를 클라이언트 소비에 사용할 수 있는 경우에 호출할 대리자입니다.
- state
유형: System.Object
콜백에 전달된 사용자 정의 상태 개체입니다.
반환 값
유형: System.IAsyncResult
작업 상태를 나타내는 IAsyncResult입니다.
주의
제공된 DataServiceQueryContinuation<T> 개체에는 실행할 경우 쿼리 결과의 다음 데이터 페이지를 반환하는 URI가 포함되어 있습니다.