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

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

List person groups and their information. <ul> <li> Optional string parameter "start" and int parameter "top" are adopted to specify the starting point and total number of person groups to return. All of the person groups are stored in alphabetical order of personGroupId. And the list starting point is defined as the first person group whose personGroupId is greater than the "start". Beginning from this starting point, this API returns the first "top" person groups. <ul> <li> Defaults to return the first 1000 person groups, where the value of "start" is empty and "top" is 1000. Empty array returned indicates that there is no person group whose personGroupId is lager than the "start". E.g., given two person groups: "first_group" and "second_group", these two groups are returned with default parameter, "second_group" is returned if specify "first_group" as "start", and if specify "second_group" as "start", empty array is returned. <ul> <li> The last personGroupId returned by current call can be used as the "start" of the next call to continuously list the person groups. </ul> </ul> </ul> <h4>Http Method</h4> GET
public static PersonGroupListPersonGroupsAsync ( this operations, string start = default(string), int top = 1000, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
start string /// List person groups from the least personGroupId greater than the "start". /// It contains no more than 64 characters. Default is empty. . Possible /// values include: '' ///
top int /// The number of person groups to list, ranging in [1, 1000]. Default is /// 1000. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task
            public static async System.Threading.Tasks.Task PersonGroupListPersonGroupsAsync(this IFaceAPIV10 operations, string start = default(string), int? top = 1000, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
            {
                await operations.PersonGroupListPersonGroupsWithHttpMessagesAsync(start, top, subscriptionKey, ocpApimSubscriptionKey, null, cancellationToken).ConfigureAwait(false);
            }