IDocumentClient.ReadAttachmentFeedAsync Method

Definition

Overloads

ReadAttachmentFeedAsync(String, FeedOptions)

Reads the feed (sequence) of Attachment for a document as an asynchronous operation in the Azure DocumentDB database service.

ReadAttachmentFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of attachments for a document as an asynchronous operation in the Azure DocumentDB database service.

ReadAttachmentFeedAsync(String, FeedOptions)

Reads the feed (sequence) of Attachment for a document as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Attachment>> ReadAttachmentFeedAsync (string documentLink, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
documentLink
String

The link of the parent document resource.

options
FeedOptions

(Optional) The FeedOptionsfor this request.

Returns

A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a Attachment containing the read resource record.

ReadAttachmentFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of attachments for a document as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Attachment>> ReadAttachmentFeedAsync (Uri documentUri, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
documentUri
Uri

The URI of the parent document.

options
FeedOptions

(Optional) The FeedOptions for the request.

Returns

The task object representing the service response for the asynchronous operation.