Class FeedResponse<T>
The user contract for the various feed responses that serialized the responses to a type. To follow the .NET standard for typed responses any exceptions should be thrown to the user.
public abstract class FeedResponse<T> : Response<IEnumerable<T>>, IEnumerable<T>, IEnumerable
Type Parameters
T
- Inheritance
-
Response<IEnumerable<T>>FeedResponse<T>
- Implements
-
IEnumerable<T>
- Inherited Members
- Extension Methods
Constructors
FeedResponse()
Create an empty cosmos feed response for mock testing
protected FeedResponse()
Properties
ActivityId
public override string ActivityId { get; }
Property Value
ContinuationToken
Gets the continuation token to be used for continuing enumeration of the Azure Cosmos DB service.
public abstract string ContinuationToken { get; }
Property Value
- string
The continuation token to be used for continuing enumeration.
Count
The number of items in the stream.
public abstract int Count { get; }
Property Value
ETag
public override string ETag { get; }
Property Value
IndexMetrics
Gets the index utilization metrics to be used for debugging purposes. It's applicable to query response only. Other feed response will return null for this field. This result is only available if QueryRequestOptions.PopulateIndexMetrics is set to true.
public abstract string IndexMetrics { get; }
Property Value
- string
The index utilization metrics.
RequestCharge
public override double RequestCharge { get; }
Property Value
Methods
GetEnumerator()
Get an enumerator of the object.
public abstract IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>
An instance of an Enumerator