Udostępnij za pośrednictwem


QueryOperationResponse<T> Class

Represents the responses to a DataServiceQuery<TElement>.

Inheritance Hierarchy

System.Object
  System.Data.Services.Client.OperationResponse
    System.Data.Services.Client.QueryOperationResponse
      System.Data.Services.Client.QueryOperationResponse<T>

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

Syntax

'Declaration
Public NotInheritable Class QueryOperationResponse(Of T) _
    Inherits QueryOperationResponse _
    Implements IEnumerable(Of T), IEnumerable
'Usage
Dim instance As QueryOperationResponse(Of T)
public sealed class QueryOperationResponse<T> : QueryOperationResponse, 
    IEnumerable<T>, IEnumerable
generic<typename T>
public ref class QueryOperationResponse sealed : public QueryOperationResponse, 
    IEnumerable<T>, IEnumerable
[<SealedAttribute>]
type QueryOperationResponse<'T> =  
    class 
        inherit QueryOperationResponse 
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript does not support generic types and methods.

Type Parameters

  • T

The QueryOperationResponse<T> type exposes the following members.

Properties

  Name Description
Public property Error Gets error thrown by the operation. (Inherited from OperationResponse.)
Public property Headers When overridden in a derived class, contains the HTTP response headers associated with a single operation. (Inherited from OperationResponse.)
Public property Query Gets the DataServiceQuery that generates the QueryOperationResponse items. (Inherited from QueryOperationResponse.)
Public property StatusCode When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. (Inherited from OperationResponse.)
Public property TotalCount The server result set count value from a query, if the query has requested the value. (Overrides QueryOperationResponse.TotalCount.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetContinuation() Gets a DataServiceQueryContinuation<T> object that contains the URI that is used to retrieve the next results page.
Public method GetContinuation(IEnumerable) Gets a DataServiceQueryContinuation object containing the URI that is used to retrieve the next page of related entities in the specified collection. (Inherited from QueryOperationResponse.)
Public method GetContinuation<T>(IEnumerable<T>) Gets a DataServiceQueryContinuation<T> object that contains the URI that is used to retrieve the next page of related entities in the specified collection. (Inherited from QueryOperationResponse.)
Public method GetEnumerator Executes the DataServiceQuery<TElement> and gets QueryOperationResponse<T> items.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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