BuildIt.CognitiveServices.FaceAPIV10Extensions.PersonGroupTrainPersonGroupAsync C# (CSharp) Method

PersonGroupTrainPersonGroupAsync() public static method

Queue a person group training task, the training task may not be started immediately. <br/><br/> Any updates to person group will not take effect in <a href="/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239">Face - Identify</a> until person group is successfully trained. You can query the training status by calling <a href="/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395247">Person Group - Get Person Group Training Status</a> API. <h4>Http Method</h4> POST
public static PersonGroupTrainPersonGroupAsync ( this operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
personGroupId string /// Target person group to be trained. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task
            public static async System.Threading.Tasks.Task PersonGroupTrainPersonGroupAsync(this IFaceAPIV10 operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
            {
                await operations.PersonGroupTrainPersonGroupWithHttpMessagesAsync(personGroupId, subscriptionKey, ocpApimSubscriptionKey, null, cancellationToken).ConfigureAwait(false);
            }