Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

DataServiceContext.BeginLoadProperty Method (Object, String, DataServiceQueryContinuation, AsyncCallback, Object)

Asynchronously loads the next page of related entities from the data service by using the supplied query continuation object.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public IAsyncResult BeginLoadProperty(
	Object entity,
	string propertyName,
	DataServiceQueryContinuation continuation,
	AsyncCallback callback,
	Object state
)

Parameters

entity
Type: System.Object
The entity that contains the property to load.
propertyName
Type: System.String
The name of the property of the specified entity to load.
continuation
Type: System.Data.Services.Client.DataServiceQueryContinuation
A DataServiceQueryContinuation<T> object that represents the next page of related entity data to return from the data service.
callback
Type: System.AsyncCallback
Delegate to invoke when results are available for client consumption.
state
Type: System.Object
User-defined state object passed to the callback.

Return Value

Type: System.IAsyncResult
An IAsyncResult that represents the status of the operation.

The supplied DataServiceQueryContinuation<T> object contains the URI that, when executed, returns the next page of data in the query result.

Show:
© 2015 Microsoft