Freigeben über


SnapshotOperations.ListWithHttpMessagesAsync 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 System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot>>> ListWithHttpMessagesAsync (Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType? type = default, System.Collections.Generic.IList<Guid> applyScope = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : Nullable<Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType> * System.Collections.Generic.IList<Guid> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot>>>
override this.ListWithHttpMessagesAsync : Nullable<Microsoft.Azure.CognitiveServices.Vision.Face.Models.SnapshotObjectType> * System.Collections.Generic.IList<Guid> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot>>>
Public Function ListWithHttpMessagesAsync (Optional type As Nullable(Of SnapshotObjectType) = Nothing, Optional applyScope As IList(Of Guid) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of Snapshot)))

Parameter

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.

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Implementiert

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: