Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataServiceRequest<TElement> Class

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

System.Object
  System.Data.Services.Client.DataServiceRequest
    System.Data.Services.Client.DataServiceRequest<TElement>

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
public sealed class DataServiceRequest<TElement> : DataServiceRequest

Type Parameters

TElement

An entity type.

The DataServiceRequest<TElement> type exposes the following members.

  NameDescription
Public methodDataServiceRequest<TElement>Initializes a new instance of the DataServiceRequest<TElement> class.
Top
  NameDescription
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.)
Top
  NameDescription
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().)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.