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

FaceListDeleteaFacefromaFaceList() public static method

Delete an existing face from a face list (given by a persisitedFaceId and a faceListId). Persisted image related to the face will also be deleted. <h4>Http Method</h4> DELETE
public static FaceListDeleteaFacefromaFaceList ( this operations, string faceListId, string persistedFaceId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
faceListId string /// faceListId of an existing face list. Valid character is letter in lower /// case or digit or '-' or '_', maximum length is 64. ///
persistedFaceId string /// persistedFaceId of an existing face. Valid character is letter in lower /// case or digit or '-' or '_', maximum length is 64. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
return void
            public static void FaceListDeleteaFacefromaFaceList(this IFaceAPIV10 operations, string faceListId, string persistedFaceId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).FaceListDeleteaFacefromaFaceListAsync(faceListId, persistedFaceId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }