Partilhar via


SnapshotOperationsExtensions.GetOperationStatusAsync Método

Definição

Recupere o status de uma operação de instantâneo take/apply.

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

Parâmetros

operations
ISnapshotOperations

O grupo de operações para esse método de extensão.

operationId
Guid

Id referenciando uma operação de instantâneo específica.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a