Freigeben über


SnapshotOperationsExtensions.ListAsync Methode

Definition

Listet alle zugänglichen Momentaufnahmen mit zugehörigen Informationen auf, einschließlich Momentaufnahmen, die vom Benutzer erstellt wurden, oder Momentaufnahmen, die auf den Benutzer angewendet werden sollen (die Abonnement-ID war in applyScope in Momentaufnahme – Erstellen enthalten).

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))

Parameter

operations
ISnapshotOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

type
Nullable<SnapshotObjectType>

Vom Benutzer angegebene Objekttyp als Suchfilter. Mögliche Werte: "FaceList", "LargeFaceList", "LargePersonGroup", "PersonGroup"

applyScope
IList<Guid>

Vom Benutzer angegeben, Momentaufnahme Bereiche als Suchfilter anwenden. ApplyScope ist ein Array der Azure-Ziel-Abonnement-IDs für die Momentaufnahme, die vom Benutzer angegeben wird, der die Momentaufnahme durch Momentaufnahme erstellt hat.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: