BuildIt.CognitiveServices.FaceAPIV10Extensions.PersonGroupDeleteaPersonGroup C# (CSharp) Метод

PersonGroupDeleteaPersonGroup() публичный статический Метод

Delete an existing person group. Persisted face images of all people in the person group will also be deleted. <h4>Http Method</h4> DELETE
public static PersonGroupDeleteaPersonGroup ( this operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
personGroupId string /// The personGroupId of the person group to be deleted. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void
            public static void PersonGroupDeleteaPersonGroup(this IFaceAPIV10 operations, string personGroupId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).PersonGroupDeleteaPersonGroupAsync(personGroupId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }