PersonDirectoryExtensions.CreateDynamicPersonGroupAsync(IPersonDirectory, String, DynamicPersonGroupCreateRequest, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreateDynamicPersonGroupHeaders> CreateDynamicPersonGroupAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string dynamicPersonGroupId, Microsoft.Azure.CognitiveServices.Vision.Face.Models.DynamicPersonGroupCreateRequest body, System.Threading.CancellationToken cancellationToken = default);
static member CreateDynamicPersonGroupAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.DynamicPersonGroupCreateRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreateDynamicPersonGroupHeaders>
<Extension()>
Public Function CreateDynamicPersonGroupAsync (operations As IPersonDirectory, dynamicPersonGroupId As String, body As DynamicPersonGroupCreateRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryCreateDynamicPersonGroupHeaders)

Parameters

operations
IPersonDirectory
dynamicPersonGroupId
System.String
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<PersonDirectoryCreateDynamicPersonGroupHeaders>

Applies to