Compartir a través de


SnapshotOperationsExtensions.ListAsync Método

Definición

Enumere todas las instantáneas accesibles con información relacionada, incluidas las instantáneas realizadas por el usuario, o las instantáneas que se aplicarán al usuario (el identificador de suscripción se incluyó en applyScope en Snapshot - Take).

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot>> ListAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ISnapshotOperations operations, Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType? type = default, System.Collections.Generic.IList<Guid> applyScope = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ISnapshotOperations * Nullable<Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType> * System.Collections.Generic.IList<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot>>
<Extension()>
Public Function ListAsync (operations As ISnapshotOperations, Optional type As Nullable(Of SnapshotObjectType) = Nothing, Optional applyScope As IList(Of Guid) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of Snapshot))

Parámetros

operations
ISnapshotOperations

Grupo de operaciones para este método de extensión.

type
Nullable<SnapshotObjectType>

Tipo de objeto especificado por el usuario como filtro de búsqueda. Entre los valores posibles se incluyen: 'FaceList', 'LargeFaceList', 'LargePersonGroup', 'PersonGroup'

applyScope
IList<Guid>

La instantánea especificada por el usuario aplica ámbitos como filtro de búsqueda. ApplyScope es una matriz de los identificadores de suscripción de Azure de destino para la instantánea, especificada por el usuario que creó la instantánea mediante Snapshot - Take.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a