Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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 sealed class DataServiceRequest<TElement> : DataServiceRequest

Type Parameters


An entity type.

The DataServiceRequest<TElement> type exposes the following members.

Public methodDataServiceRequest<TElement>Initializes a new instance of the DataServiceRequest<TElement> class.

Public propertyElementTypeGets the type of the object used to create the DataServiceRequest<TElement> instance. (Overrides DataServiceRequest.ElementType.)
Public propertyRequestUriGets the URI object that contains the request string. (Overrides DataServiceRequest.RequestUri.)

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToStringRepresents 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.
© 2015 Microsoft