QueryOperationResponse<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Response to a batched query or Execute call.
public sealed class QueryOperationResponse<T> : Microsoft.OData.Client.QueryOperationResponse, System.Collections.Generic.IEnumerable<T>
type QueryOperationResponse<'T> = class
inherit QueryOperationResponse
interface seq<'T>
interface IEnumerable
Public NotInheritable Class QueryOperationResponse(Of T)
Inherits QueryOperationResponse
Implements IEnumerable(Of T)
Type Parameters
- T
The type to construct for the request results
- Inheritance
- Implements
Properties
Count |
The server result set count value from a query, if the query has requested the value. |
Error |
Gets error thrown by the operation. (Inherited from OperationResponse) |
Headers |
When overridden in a derived class, contains the HTTP response headers associated with a single operation. (Inherited from OperationResponse) |
Query |
Gets the DataServiceQuery that generates the QueryOperationResponse items. (Inherited from QueryOperationResponse) |
StatusCode |
When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. (Inherited from OperationResponse) |
TotalCount |
Obsolete.
The server result set count value from a query, if the query has requested the value. |
Methods
GetContinuation() |
Gets a DataServiceQueryContinuation<T> object that contains the URI that is used to retrieve the next results page. |
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) |
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) |
GetEnumerator() |
Executes the DataServiceQuery<TElement> and gets QueryOperationResponse<T> items. |
GetEnumeratorHelper<T>(Func<T>) |
Gets the enumeration helper for the QueryOperationResponse. (Inherited from QueryOperationResponse) |
Extension Methods
CountDistinct<TSource,TTarget>(IEnumerable<TSource>, Func<TSource,TTarget>) |
Returns the distinct count of elements in a sequence after applying the projection function to each element. |