IDocumentClient.ReadTriggerFeedAsync Method

Definition

Overloads

ReadTriggerFeedAsync(String, FeedOptions)

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

ReadTriggerFeedAsync(Uri, FeedOptions)

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

ReadTriggerFeedAsync(String, FeedOptions)

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

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

The link of the parent document collection resource.

options
FeedOptions

(Optional) The FeedOptionsfor this request.

Returns

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

ReadTriggerFeedAsync(Uri, FeedOptions)

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

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Trigger>> ReadTriggerFeedAsync (Uri documentCollectionUri, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
documentCollectionUri
Uri

The URI of the parent document collection.

options
FeedOptions

(Optional) The FeedOptions for the request.

Returns

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