PersonDirectoryExtensions.GetPersonFacesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET