This topic has not yet been rated - Rate this topic

DataServiceRequest Class

July 26, 2012

Represents request objects that are submitted as a batch to the Open Data Protocol (OData) service.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)
'Declaration
Public MustInherit Class DataServiceRequest

The DataServiceRequest type exposes the following members.

  NameDescription
Public propertyElementTypeGets the type of object submitted as a batch to the Open Data Protocol (OData) service.
Public propertyRequestUriGets the URI of the request object submitted to an Open Data Protocol (OData) service.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringRepresents the URI of the query to the Open Data Protocol (OData) service. (Overrides Object.ToString.)
Top

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

Windows Phone OS

Supported in: 7.1

Windows Phone

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)
© 2013 Microsoft. All rights reserved.