Udostępnij za pośrednictwem


QueryOperationResponse Class

Represents the responses to a DataServiceQuery.

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 Class QueryOperationResponse _
    Inherits OperationResponse _
    Implements IEnumerable
'Usage
Dim instance As QueryOperationResponse
public class QueryOperationResponse : OperationResponse, 
    IEnumerable
public ref class QueryOperationResponse : public OperationResponse, 
    IEnumerable
type QueryOperationResponse =  
    class 
        inherit OperationResponse 
        interface IEnumerable 
    end
public class QueryOperationResponse extends OperationResponse implements IEnumerable

The QueryOperationResponse 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.
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 Gets or sets the server result set count value from a query, if the query has requested the value.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContinuation() Gets a DataServiceQueryContinuation object containing 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.
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.
Public method GetEnumerator Executes the DataServiceQuery and returns QueryOperationResponse items.
Protected method GetEnumeratorHelper<T> Gets the enumeration helper for the QueryOperationResponse.
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

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