你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersonDirectoryExtensions.CreateDynamicPersonGroupAsync 方法

定义

重载

CreateDynamicPersonGroupAsync(IPersonDirectory, String, DynamicPersonGroupCreateRequest, CancellationToken)
已过时.
CreateDynamicPersonGroupAsync(IPersonDirectory, String, String, String, IList<Guid>, CancellationToken)

CreateDynamicPersonGroupAsync(IPersonDirectory, String, DynamicPersonGroupCreateRequest, CancellationToken)

Source:
PersonDirectoryExtensions.cs

注意

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)

参数

operations
IPersonDirectory
dynamicPersonGroupId
String
cancellationToken
CancellationToken

返回

属性

适用于

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)

参数

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

返回

适用于