DataServiceRequest<TElement> Class
Represents request objects submitted as a batch to the data service.
Inheritance Hierarchy
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)
Syntax
'Declaration
Public NotInheritable Class DataServiceRequest(Of TElement) _
Inherits DataServiceRequest
'Usage
Dim instance As DataServiceRequest(Of TElement)
public sealed class DataServiceRequest<TElement> : DataServiceRequest
generic<typename TElement>
public ref class DataServiceRequest sealed : public DataServiceRequest
[<SealedAttribute>]
type DataServiceRequest<'TElement> =
class
inherit DataServiceRequest
end
JScript does not support generic types and methods.
Type Parameters
- TElement
An entity type.
The DataServiceRequest<TElement> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataServiceRequest<TElement> | Initializes a new instance of the DataServiceRequest<TElement> class. |
Top
Properties
Name | Description | |
---|---|---|
ElementType | Gets the type of the object used to create the DataServiceRequest<TElement> instance. (Overrides DataServiceRequest.ElementType.) | |
RequestUri | Gets the URI object that contains the request string. (Overrides DataServiceRequest.RequestUri.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | Represents the URI of the query to the data service. (Overrides Object.ToString().) |
Top
Remarks
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.
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.