PersonGroupOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
A value indicating whether the operation should return 'recognitionModel' in response.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET