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

PersonCreateaPerson() public static method

Create a new person in a specified person group. A newly created person have no registered face, you can call <a href="/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523b ">Person - Add a Person Face</a> API to add faces to the person. <br/><br/> The number of persons has a subscription level limit and person group level limit. Person group level limit is 1000 for both free and paid tier subscriptions. Subscription level limit is 1000 for free tier subscription and can be greater in paid tier subscriptions. <h4>Http Method</h4> POST
public static PersonCreateaPerson ( this operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
personGroupId string /// Specifying the target person group to create the person. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void
            public static void PersonCreateaPerson(this IFaceAPIV10 operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).PersonCreateaPersonAsync(personGroupId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }