Freigeben über


SnapshotOperationsExtensions.GetAsync Methode

Definition

Rufen Sie Informationen zu einem Momentaufnahme ab. Die Momentaufnahme ist nur für das Quellabonnement zugänglich, das sie verwendet hat, und für Zielabonnements, die im applyScope in Snapshot – Take enthalten sind.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot> GetAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ISnapshotOperations operations, Guid snapshotId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ISnapshotOperations * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Snapshot>
<Extension()>
Public Function GetAsync (operations As ISnapshotOperations, snapshotId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Snapshot)

Parameter

operations
ISnapshotOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

snapshotId
Guid

Id, die auf einen bestimmten Momentaufnahme verweist.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: