Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DataServiceContext Class

The DataServiceContext represents the runtime context of an ADO.NET data service. ADO.NET Data Services are stateless, but the DataServiceContext is not. State on the client is maintained between interactions in order to support features such as update management. This class, and the DataServiceQuery class that represents a particular HTTP request to a data service, are the two main classes in the client library.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)
Visual Basic (Declaration)
Public Class DataServiceContext
Visual Basic (Usage)
Dim instance As DataServiceContext
C#
public class DataServiceContext
Visual C++
public ref class DataServiceContext
JScript
public class DataServiceContext

For more information about DataServiceContext and DataServiceQuery<(Of <(TElement>)>), see .NET Client Library (ADO.NET Data Services) in the ADO.NET Data Services documentation.

System..::.Object
  System.Data.Services.Client..::.DataServiceContext
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker