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

PersonUpdateaPersonFace() public static method

Update a person persisted face's userData field. <h4>Http Method</h4> PATCH
public static PersonUpdateaPersonFace ( this operations, string personGroupId, string personId, string persistedFaceId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
personGroupId string /// Specifying the person group containing the target person. ///
personId string /// personId of the target person. ///
persistedFaceId string /// persistedFaceId of target face, which is persisted and will not expire. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void
            public static void PersonUpdateaPersonFace(this IFaceAPIV10 operations, string personGroupId, string personId, string persistedFaceId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).PersonUpdateaPersonFaceAsync(personGroupId, personId, persistedFaceId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }