Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

DataServiceQuery Class

An abstract class that represents a single query request to WCF Data Services. 

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Public MustInherit Class DataServiceQuery _
	Inherits DataServiceRequest _
	Implements IQueryable, IEnumerable
Dim instance As DataServiceQuery

The DataServiceQuery type exposes the following members.

  Name Description
Public property ElementType Gets the type of object submitted as a batch to the data service. (Inherited from DataServiceRequest.)
Public property Expression Represents an expression that contains the query to the data service.
Public property Provider Represents the query provider instance.
Public property RequestUri Gets the URI of the request object submitted to a data service. (Inherited from DataServiceRequest.)
Top
  Name Description
Public method BeginExecute Asynchronously sends a request to execute the data service query.
Public method EndExecute Called to complete the asynchronous operation of executing a data service query.
Public method Equals (Inherited from Object.)
Public method Execute Executes the query against the data service.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
  Name Description
Explicit interface implemetation Private method IEnumerable.GetEnumerator Gets the IEnumerator object that can be used to iterate through the collection returned by the query.
Top

No public constructors are defined on this class. Object instances are created by using CreateQuery``1(Uri) or CreateQuery<T> on the DataServiceContext class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.