Share via


QueryOperationResponse 类

表示对 DataServiceQuery 的响应。

继承层次结构

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

命名空间:  System.Data.Services.Client
程序集:  Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)

语法

声明
Public Class QueryOperationResponse _
    Inherits OperationResponse _
    Implements IEnumerable
用法
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

QueryOperationResponse 类型公开以下成员。

属性

  名称 说明
公共属性 Error 获取操作引发的错误。 (从 OperationResponse 继承。)
公共属性 Headers 在派生类中重写时,包含与单个操作相关联的 HTTP 响应标头。 (从 OperationResponse 继承。)
公共属性 Query 获取生成 QueryOperationResponse 项的 DataServiceQuery
公共属性 StatusCode 在派生类中重写时,获取或设置与单个操作相关联的 HTTP 响应代码。 (从 OperationResponse 继承。)
公共属性 TotalCount 获取或设置查询中的服务器结果集计数值(如果查询已请求了该值)。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContinuation() 获取 DataServiceQueryContinuation 对象,其中包含用于检索下一结果页的 URI。
公共方法 GetContinuation(IEnumerable) 获取 DataServiceQueryContinuation 对象,其中包含用于检索指定集合中下一页相关实体的 URI。
公共方法 GetContinuation<T>(IEnumerable<T>) 获取 DataServiceQueryContinuation<T> 对象,其中包含用于检索指定集合中下一页相关实体的 URI。
公共方法 GetEnumerator 执行 DataServiceQuery 并返回 QueryOperationResponse 项。
受保护方法 GetEnumeratorHelper<T> 获取 QueryOperationResponse 的枚举帮助器。
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

System.Data.Services.Client 命名空间