PersonDirectoryExtensions.GetPersonsAsync Method

Definition

Overloads

GetPersonsAsync(IPersonDirectory, Nullable<Guid>, String, CancellationToken)
GetPersonsAsync(IPersonDirectory, String, String, CancellationToken)
Obsolete.

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))

Parameters

operations
IPersonDirectory
start
Nullable<Guid>
top
String
cancellationToken
CancellationToken

Returns

Applies to

GetPersonsAsync(IPersonDirectory, String, String, CancellationToken)

Source:
PersonDirectoryExtensions.cs

Caution

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))

Parameters

operations
IPersonDirectory
start
String
top
String
cancellationToken
CancellationToken

Returns

Attributes

Applies to