Compartir a través de


IChangeFeedDocumentClient.ReadPartitionKeyRangeFeedAsync Método

Definición

Lee la fuente (secuencia) de para una cuenta de PartitionKeyRange base de datos del servicio Azure Cosmos DB como una operación asincrónica.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.IFeedResponse<Microsoft.Azure.Documents.PartitionKeyRange>> ReadPartitionKeyRangeFeedAsync (string partitionKeyRangesOrCollectionLink, Microsoft.Azure.Documents.Client.FeedOptions options = default);
abstract member ReadPartitionKeyRangeFeedAsync : string * Microsoft.Azure.Documents.Client.FeedOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.IFeedResponse<Microsoft.Azure.Documents.PartitionKeyRange>>
Public Function ReadPartitionKeyRangeFeedAsync (partitionKeyRangesOrCollectionLink As String, Optional options As FeedOptions = Nothing) As Task(Of IFeedResponse(Of PartitionKeyRange))

Parámetros

partitionKeyRangesOrCollectionLink
String

Vínculo de los recursos que se van a leer, o vínculo de colección de propietarios, SelfLink o AltLink. Por ejemplo, /dbs/db_rid/colls/coll_rid/pkranges

options
FeedOptions

Las opciones de solicitud de la solicitud.

Devoluciones

que System.Threading.Tasks contiene un IResourceResponse<TResource>Database objeto que contiene el registro de recursos de lectura.

Se aplica a