Partager via


SnapshotOperations.ListWithHttpMessagesAsync Méthode

Définition

Répertoriez tous les instantanés accessibles avec des informations connexes, y compris les instantanés qui ont été pris par l’utilisateur, ou les instantanés à appliquer à l’utilisateur (l’ID d’abonnement a été inclus dans applyScope dans Instantané - Prendre).

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

Paramètres

type
Nullable<SnapshotObjectType>

Type d’objet spécifié par l’utilisateur comme filtre de recherche. Les valeurs possibles sont les suivantes : « FaceList », « LargeFaceList », « LargePersonGroup », « PersonGroup »

applyScope
IList<Guid>

L’utilisateur spécifié instantané appliquer des étendues en tant que filtre de recherche. ApplyScope est un tableau des ID d’abonnement Azure cibles pour le instantané, spécifié par l’utilisateur qui a créé le instantané par Capture instantanée - Prendre.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la requête.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsque la réponse ne peut pas être désérialisée

Levée lorsqu’un paramètre requis a la valeur Null

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à