IDocumentClient.ReadDocumentFeedAsync
Method
Definition
Overloads
| ReadDocumentFeedAsync(Uri, FeedOptions) |
Reads the feed (sequence) of documents for a collection as an asynchronous operation in the Azure DocumentDB database service. |
| ReadDocumentFeedAsync(String, FeedOptions) |
Reads the feed (sequence) of documents for a specified collection in the Azure DocumentDB database service. This takes returns a ResourceResponse<TResource> which will contain an enumerable list of dynamic objects. |
ReadDocumentFeedAsync(Uri, FeedOptions)
Reads the feed (sequence) of documents for a collection as an asynchronous operation in the Azure DocumentDB database service.
public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<dynamic>> ReadDocumentFeedAsync (Uri documentCollectionUri, Microsoft.Azure.Documents.Client.FeedOptions options = null);
- documentCollectionUri
- Uri
The URI of the parent document collection.
- options
- FeedOptions
(Optional) The FeedOptions for the request.
The task object representing the service response for the asynchronous operation.
ReadDocumentFeedAsync(String, FeedOptions)
Reads the feed (sequence) of documents for a specified collection in the Azure DocumentDB database service. This takes returns a ResourceResponse<TResource> which will contain an enumerable list of dynamic objects.
public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<dynamic>> ReadDocumentFeedAsync (string collectionLink, Microsoft.Azure.Documents.Client.FeedOptions options = null);
- collectionLink
- String
The link of the parent document collection resource.
- options
- FeedOptions
(Optional) The FeedOptionsfor this request.
A System.Threading.Tasks containing a ResourceResponse<TResource> containing dynamic objects representing the items in the feed.