QueryOperationResponse QueryOperationResponse QueryOperationResponse QueryOperationResponse Class

定义

表示对 DataServiceQuery 的响应。Represents the responses to a DataServiceQuery.

public ref class QueryOperationResponse : System::Data::Services::Client::OperationResponse, System::Collections::IEnumerable
public class QueryOperationResponse : System.Data.Services.Client.OperationResponse, System.Collections.IEnumerable
type QueryOperationResponse = class
    inherit OperationResponse
    interface IEnumerable
Public Class QueryOperationResponse
Inherits OperationResponse
Implements IEnumerable
继承
QueryOperationResponseQueryOperationResponseQueryOperationResponseQueryOperationResponse
派生
实现

属性

Error Error Error Error

获取操作引发的错误。Gets error thrown by the operation.

(Inherited from OperationResponse)
Headers Headers Headers Headers

在派生类中重写时,包含与单个操作相关联的 HTTP 响应标头。When overridden in a derived class, contains the HTTP response headers associated with a single operation.

(Inherited from OperationResponse)
Query Query Query Query

获取生成 DataServiceQuery 项的 QueryOperationResponseGets the DataServiceQuery that generates the QueryOperationResponse items.

StatusCode StatusCode StatusCode StatusCode

在派生类中重写时,获取或设置与单个操作相关联的 HTTP 响应代码。When overridden in a derived class, gets or sets the HTTP response code associated with a single operation.

(Inherited from OperationResponse)
TotalCount TotalCount TotalCount TotalCount

查询中的服务器结果集计数值(如果查询已请求了该值)。The server result set count value from a query, if the query has requested the value.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetContinuation() GetContinuation() GetContinuation() GetContinuation()

获取 DataServiceQueryContinuation 对象,其中包含用于检索下一结果页的 URI。Gets a DataServiceQueryContinuation object containing the URI that is used to retrieve the next results page.

GetContinuation(IEnumerable) GetContinuation(IEnumerable) GetContinuation(IEnumerable) GetContinuation(IEnumerable)

获取 DataServiceQueryContinuation 对象,其中包含用于检索指定集合中下一页相关实体的 URI。Gets a DataServiceQueryContinuation object containing the URI that is used to retrieve the next page of related entities in the specified collection.

GetContinuation<T>(IEnumerable<T>) GetContinuation<T>(IEnumerable<T>) GetContinuation<T>(IEnumerable<T>) GetContinuation<T>(IEnumerable<T>)

获取 DataServiceQueryContinuation<T> 对象,其中包含用于检索指定集合中下一页相关实体的 URI。Gets a DataServiceQueryContinuation<T> object that contains the URI that is used to retrieve the next page of related entities in the specified collection.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

执行 DataServiceQuery 并返回 QueryOperationResponse 项。Executes the DataServiceQuery and returns QueryOperationResponse items.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

扩展方法

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于