Udostępnij za pośrednictwem


DataServiceRequest Class

Represents request objects submitted as a batch to WCF Data Services.

Inheritance Hierarchy

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

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public MustInherit Class DataServiceRequest
'Usage
Dim instance As DataServiceRequest
public abstract class DataServiceRequest
public ref class DataServiceRequest abstract
[<AbstractClassAttribute>]
type DataServiceRequest =  class end
public abstract class DataServiceRequest

The DataServiceRequest type exposes the following members.

Properties

  Name Description
Public property ElementType Gets the type of object submitted as a batch to the data service.
Public property RequestUri Gets the URI of the request object submitted to a data service.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
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

Remarks

In a group of queries submitted as a batch to the data service, the queries are specified as DataServiceRequest 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.

Thread Safety

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

See Also

Reference

System.Data.Services.Client Namespace

Other Resources

Data Client (WCF Data Services)