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

DataServiceRequest<TElement> Class

Represents request objects submitted as a batch to the data service.


Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Public NotInheritable Class DataServiceRequest(Of TElement) _
	Inherits DataServiceRequest
Dim instance As DataServiceRequest(Of TElement)

Type Parameters


An entity type.

The DataServiceRequest<TElement> type exposes the following members.

  Name Description
Public method DataServiceRequest<TElement> Initializes a new instance of the DataServiceRequest<TElement> class.
  Name Description
Public property ElementType Gets the type of the object used to create the DataServiceRequest<TElement> instance. (Overrides DataServiceRequest.ElementType.)
Public property RequestUri Gets the URI object that contains the request string. (Overrides DataServiceRequest.RequestUri.)
  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString Represents the URI of the query to the data service. (Overrides Object.ToString().)

In a group of queries submitted as a batch to the data service, the queries are specified as DataServiceRequest<TElement> instances. A DataServiceResponse is returned that represents the response of the batch request as a whole. Individual query responses are represented as QueryOperationResponse objects, derived from OperationResponse, that are accessible by enumerating the DataServiceResponse instance.

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