PersonGroupOperationsExtensions.GetAsync Method

Definition

Retrieve person group name, userData and recognitionModel. To get person information under this personGroup, use PersonGroup Person - List.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonGroup> GetAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupOperations operations, string personGroupId, bool? returnRecognitionModel = False, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupOperations * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonGroup>
<Extension()>
Public Function GetAsync (operations As IPersonGroupOperations, personGroupId As String, Optional returnRecognitionModel As Nullable(Of Boolean) = False, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonGroup)

Parameters

operations
IPersonGroupOperations

The operations group for this extension method.

personGroupId
String

Id referencing a particular person group.

returnRecognitionModel
Nullable<Boolean>

A value indicating whether the operation should return 'recognitionModel' in response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to