QueryOperationResponse<T> 类

表示对 DataServiceQuery<TElement> 的响应。

继承层次结构

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 NotInheritable Class QueryOperationResponse(Of T) _
    Inherits QueryOperationResponse _
    Implements IEnumerable(Of T), IEnumerable
用法
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 不支持一般类型和方法。

类型参数

  • T

QueryOperationResponse<T> 类型公开以下成员。

属性

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

页首

方法

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

页首

线程安全

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

请参阅

参考

System.Data.Services.Client 命名空间