FeedResponse<T> Class

Definition

Represents the template class used by feed methods (enumeration operations) for the Azure DocumentDB database service.

public class FeedResponse<T> : Microsoft.Azure.Documents.Client.IFeedResponse<T>, System.Collections.Generic.IEnumerable<T>, System.Dynamic.IDynamicMetaObjectProvider
Type Parameters
T

The feed type.

Inheritance
FeedResponse<T>
Implements

Constructors

FeedResponse<T>()

Constructor exposed for mocking purposes.

FeedResponse<T>(IEnumerable<T>)

Constructor exposed for mocking purposes.

Properties

ActivityId

Gets the activity ID for the request from the Azure DocumentDB database service.

CollectionQuota

Gets the maximum quota for collection resources within an account from the Azure DocumentDB database service.

CollectionSizeQuota

Gets the maximum size of a collection in kilobytes from the Azure DocumentDB database service.

CollectionSizeUsage

Gets the current size of a collection in kilobytes from the Azure DocumentDB database service.

CollectionUsage

Gets the current number of collection resources within the account from the Azure DocumentDB database service.

ContentLocation

Gets the content parent location, for example, dbs/foo/colls/bar, from the Azure DocumentDB database service.

Count

Gets the number of items returned in the response from the Azure DocumentDB database service.

CurrentResourceQuotaUsage

Gets the current size of this entity from the Azure DocumentDB database service.

DatabaseQuota

Gets the maximum quota for database resources within the account from the Azure DocumentDB database service.

DatabaseUsage

Gets the current number of database resources within the account from the Azure DocumentDB database service.

ETag

Gets the entity tag associated with last transaction in the Azure DocumentDB database service, which can be used as If-Non-Match Access condition for ReadFeed REST request or ContinuationToken property of ChangeFeedOptions parameter for CreateDocumentChangeFeedQuery(String, ChangeFeedOptions) to get feed changes since the transaction specified by this entity tag.

IsRUPerMinuteUsed

Gets the flag associated with the response from the Azure DocumentDB database service whether this feed request is served from Request Units(RUs)/minute capacity or not.

MaxResourceQuota

Gets the maximum size limit for this entity from the Azure DocumentDB database service.

PermissionQuota

Gets the maximum quota for permission resources within an account from the Azure DocumentDB database service.

PermissionUsage

Gets the current number of permission resources within the account from the Azure DocumentDB database service.

QueryMetrics

Get QueryMetrics for each individual partition in the Azure DocumentDB database service

RequestCharge

Gets the request charge for this request from the Azure DocumentDB database service.

ResponseContinuation

Gets the continuation token to be used for continuing enumeration of the Azure DocumentDB database service.

ResponseHeaders

Gets the response headers from the Azure DocumentDB database service.

SessionToken

Gets the session token for use in sesssion consistency reads from the Azure DocumentDB database service.

StoredProceduresQuota

Gets the maximum quota of stored procedures for a collection from the Azure DocumentDB database service.

StoredProceduresUsage

Gets the current number of stored procedures for a collection from the Azure DocumentDB database service.

TriggersQuota

Gets the maximum quota of triggers for a collection from the Azure DocumentDB database service.

TriggersUsage

Get the current number of triggers for a collection from the Azure DocumentDB database service.

UserDefinedFunctionsQuota

Gets the maximum quota of user defined functions for a collection from the Azure DocumentDB database service.

UserDefinedFunctionsUsage

Gets the current number of user defined functions for a collection from the Azure DocumentDB database service.

UserQuota

Gets the maximum quota for user resources within an account from the Azure DocumentDB database service.

UserUsage

Gets the current number of user resources within the account from the Azure DocumentDB database service.

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection from the Azure DocumentDB database service.

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IDynamicMetaObjectProvider.GetMetaObject(Expression)

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)