This documentation is archived and is not being maintained.

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:  System.Data.Services.Client (in System.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.

This topic describes new functionality in ADO.NET Data Services that is available as an update to the .NET Framework version 3.5 Service Pack 1. You can download and install the update from the Microsoft Download Center.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Show: