DataServiceContext.BeginLoadProperty-Methode (Object, String, DataServiceQueryContinuation, AsyncCallback, Object)
Lädt asynchron die nächste Seite der verknüpften Entitäten vom Datendienst mit dem angegebenen Abfragefortsetzungsobjekt.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Function BeginLoadProperty ( _
entity As Object, _
propertyName As String, _
continuation As DataServiceQueryContinuation, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
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
Parameter
- entity
Typ: System.Object
Die Entität, die die zu ladende Eigenschaft enthält.
- propertyName
Typ: System.String
Der Name der Eigenschaft in der zu ladenden Entität.
- continuation
Typ: System.Data.Services.Client.DataServiceQueryContinuation
Ein DataServiceQueryContinuation<T>-Objekt, das die nächste Seite der zugehörigen Daten darstellt, die vom Datendienst zurückgegeben werden.
- callback
Typ: System.AsyncCallback
Aufruf-Delegierter, wenn Ergebnisse für Clientverbrauch verfügbar sind.
- state
Typ: System.Object
Benutzerdefiniertes Statusobjekt, das an den Rückruf übergeben wird.
Rückgabewert
Typ: System.IAsyncResult
IAsyncResult für den Status des Vorgangs.
Hinweise
Das angegebene DataServiceQueryContinuation<T>-Objekt enthält den URI der bei Ausführung die nächste Seite der Daten im Abfrageergebnis zurück.