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

FaceListCreateaFaceList() public static method

<p>Create an empty face list with user-specified faceListId, name and an optional userData. Up to 64 face lists are allowed to exist in one subscription.</p> <p> Face list is a group of faces, and these faces will not expire. Face list is used as a parameter of source faces in <a href="/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237">Face - Find Similar</a>. Face List is useful when to find similar faces in a fixed face set very often, e.g. to find a similar face in a face list of celebrities, friends, or family members. </p> <p>A face list can have a maximum of 1000 faces.</p> <h4>Http Method</h4> PUT
public static FaceListCreateaFaceList ( this operations, string faceListId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
faceListId string /// 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 FaceListCreateaFaceList(this IFaceAPIV10 operations, string faceListId, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).FaceListCreateaFaceListAsync(faceListId, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }