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

PersonGroupUpdateaPersonGroup() public static method

Update an existing person group's display name and userData. The properties which does not appear in request body will not be updated. <h4>Http Method</h4> PATCH
public static PersonGroupUpdateaPersonGroup ( this operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
personGroupId string /// personGroupId of the person group to be updated. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void
            public static void PersonGroupUpdateaPersonGroup(this IFaceAPIV10 operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).PersonGroupUpdateaPersonGroupAsync(personGroupId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }