你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PersonDirectoryExtensions.GetPersonsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetPersonsAsync(IPersonDirectory, Nullable<Guid>, String, CancellationToken) | |
GetPersonsAsync(IPersonDirectory, String, String, CancellationToken) |
已过时.
|
GetPersonsAsync(IPersonDirectory, Nullable<Guid>, String, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentResponse>> GetPersonsAsync(this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid? start = default, string top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPersonsAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Nullable<Guid> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentResponse>>
<Extension()>
Public Function GetPersonsAsync (operations As IPersonDirectory, Optional start As Nullable(Of Guid) = Nothing, Optional top As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of EnrollmentResponse))
参数
- operations
- IPersonDirectory
- top
- String
- cancellationToken
- CancellationToken
返回
适用于
GetPersonsAsync(IPersonDirectory, String, String, 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<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentResponse>> GetPersonsAsync(this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string start = default, string top = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member GetPersonsAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentResponse>>
<Extension()>
Public Function GetPersonsAsync (operations As IPersonDirectory, Optional start As String = Nothing, Optional top As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of EnrollmentResponse))
参数
- operations
- IPersonDirectory
- start
- String
- top
- String
- cancellationToken
- CancellationToken
返回
- 属性