PersonDirectoryExtensions.GetPersonAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
GetPersonAsync(IPersonDirectory, String, CancellationToken) |
Obsoleto.
|
GetPersonAsync(IPersonDirectory, Guid, CancellationToken) |
GetPersonAsync(IPersonDirectory, String, CancellationToken)
- Origem:
- PersonDirectoryExtensions.cs
Cuidado
Method is being deprecated, consider using other overloads.
[System.Obsolete("Method is being deprecated, consider using other overloads.", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrolledPerson> GetPersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member GetPersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrolledPerson>
<Extension()>
Public Function GetPersonAsync (operations As IPersonDirectory, personId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EnrolledPerson)
Parâmetros
- operations
- IPersonDirectory
- personId
- String
- cancellationToken
- CancellationToken
Retornos
- Atributos
Aplica-se a
GetPersonAsync(IPersonDirectory, Guid, CancellationToken)
- Origem:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrolledPerson> GetPersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, System.Threading.CancellationToken cancellationToken = default);
static member GetPersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrolledPerson>
<Extension()>
Public Function GetPersonAsync (operations As IPersonDirectory, personId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EnrolledPerson)
Parâmetros
- operations
- IPersonDirectory
- personId
- Guid
- cancellationToken
- CancellationToken
Retornos
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET