다음을 통해 공유


PersonDirectoryExtensions.GetPersonFacesAsync Method

Definition

Overloads

GetPersonFacesAsync(IPersonDirectory, Guid, String, CancellationToken)
GetPersonFacesAsync(IPersonDirectory, String, String, CancellationToken)
Obsolete.

GetPersonFacesAsync(IPersonDirectory, Guid, String, CancellationToken)

Source:
PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonResponse> GetPersonFacesAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, string recognitionModel, System.Threading.CancellationToken cancellationToken = default);
static member GetPersonFacesAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonResponse>
<Extension()>
Public Function GetPersonFacesAsync (operations As IPersonDirectory, personId As Guid, recognitionModel As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonResponse)

Parameters

operations
IPersonDirectory
personId
Guid
recognitionModel
String
cancellationToken
CancellationToken

Returns

Applies to

GetPersonFacesAsync(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<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonResponse> GetPersonFacesAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, string recognitionModel, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member GetPersonFacesAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonResponse>
<Extension()>
Public Function GetPersonFacesAsync (operations As IPersonDirectory, personId As String, recognitionModel As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonResponse)

Parameters

operations
IPersonDirectory
personId
String
recognitionModel
String
cancellationToken
CancellationToken

Returns

Attributes

Applies to