Sdílet prostřednictvím


PersonGroupPersonExtensions.GetAsync Method

Definition

Retrieve a person's information, including registered persisted faces, name and userData.

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

Parameters

operations
IPersonGroupPerson

The operations group for this extension method.

personGroupId
String

Id referencing a particular person group.

personId
Guid

Id referencing a particular person.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to