This documentation is archived and is not being maintained.

DataServiceCollection(T).Continuation Property

Gets a continuation object that is used to return the next set of paged results.

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

member Continuation : DataServiceQueryContinuation<'T> with get, set

Property Value

Type: System.Data.Services.Client.DataServiceQueryContinuation(T)
A DataServiceQueryContinuation(T) object that contains the URI to return the next set of paged results.

The Continuation property returns a link that is used to access the next set of paged results when paging is enabled in the data service. For more information, see Configuring the Data Service (WCF Data Services).

When loading a paged result into a DataServiceCollection(T), you must explicitly load pages by calling the Load(IEnumerable(T)) method on the DataServiceCollection(T) by passing the result of the execution of the URI that was obtained from the Continuation property.

The following example is from the code-behind page for an Extensible Application Markup Language (XAML) page that defines the SalesOrders window in WPF. When the window is loaded, a DataServiceCollection(T) is created based on the result of a query that returns customers, filtered by country. All of the pages of this paged result are loaded, along with the related orders, and are bound to the DataContext property of the StackPanel that is the root layout control for the WPF window. For more information, see How to: Bind Data to Windows Presentation Foundation Elements (WCF Data Services).

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: