BuildIt.CognitiveServices.FaceAPIV10Extensions.PersonGroupCreateaPersonGroup C# (CSharp) 메소드

PersonGroupCreateaPersonGroup() 공개 정적인 메소드

Create a new person group with specified personGroupId, name and user-provided userData. <br/><br/> A person group is one of the most important parameters for the <a href="/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239">Face - Identify</a> API. The Identify searches person faces in a specified person group. <h4>Http Method</h4> PUT
public static PersonGroupCreateaPersonGroup ( this operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
personGroupId string /// User-provided personGroupId as a string. The valid characters include /// numbers, English letters in lower case, '-' and '_'. The maximum length /// of the personGroupId is 64. /// ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
리턴 void
            public static void PersonGroupCreateaPersonGroup(this IFaceAPIV10 operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).PersonGroupCreateaPersonGroupAsync(personGroupId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }