共用方式為


LargePersonGroupOperationsExtensions.GetAsync Method

Definition

Retrieve the information of a large person group, including its name, userData and recognitionModel. This API returns large person group information only, use LargePersonGroup Person - List instead to retrieve person information under the large person group.

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

Parameters

operations
ILargePersonGroupOperations

The operations group for this extension method.

largePersonGroupId
String

Id referencing a particular large person group.

returnRecognitionModel
Nullable<Boolean>

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to