DataServiceContext.BeginLoadProperty メソッド (Object, String, DataServiceQueryContinuation, AsyncCallback, Object)
関連エンティティの次のページを、指定されたクエリ連結オブジェクトを使用してデータ サービスから非同期的に読み込みます。
名前空間: 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 が含まれており、実行すると、クエリ結果のデータの次のページが返されます。