Partager via


PersonDirectoryExtensions.CreateDynamicPersonGroupAsync Méthode

Définition

Surcharges

CreateDynamicPersonGroupAsync(IPersonDirectory, String, DynamicPersonGroupCreateRequest, CancellationToken)
Obsolète.
CreateDynamicPersonGroupAsync(IPersonDirectory, String, String, String, IList<Guid>, CancellationToken)

CreateDynamicPersonGroupAsync(IPersonDirectory, String, DynamicPersonGroupCreateRequest, CancellationToken)

Source:
PersonDirectoryExtensions.cs

Attention

Method is being deprecated, consider using other overloads.

[System.Obsolete("Method is being deprecated, consider using other overloads.", false)]
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);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
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)

Paramètres

operations
IPersonDirectory
dynamicPersonGroupId
String
cancellationToken
CancellationToken

Retours

Attributs

S’applique à

CreateDynamicPersonGroupAsync(IPersonDirectory, String, String, String, IList<Guid>, CancellationToken)

Source:
PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreateDynamicPersonGroupHeaders> CreateDynamicPersonGroupAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string dynamicPersonGroupId, string name = default, string userData = default, System.Collections.Generic.IList<Guid> addPersonIds = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateDynamicPersonGroupAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * string * System.Collections.Generic.IList<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreateDynamicPersonGroupHeaders>
<Extension()>
Public Function CreateDynamicPersonGroupAsync (operations As IPersonDirectory, dynamicPersonGroupId As String, Optional name As String = Nothing, Optional userData As String = Nothing, Optional addPersonIds As IList(Of Guid) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryCreateDynamicPersonGroupHeaders)

Paramètres

operations
IPersonDirectory
dynamicPersonGroupId
String
name
String
userData
String
addPersonIds
IList<Guid>
cancellationToken
CancellationToken

Retours

S’applique à