PersonDirectoryExtensions.GetPersonFaceAsync 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
GetPersonFaceAsync(IPersonDirectory, Guid, String, Guid, CancellationToken) | |
GetPersonFaceAsync(IPersonDirectory, String, String, String, CancellationToken) |
Obsolete.
|
GetPersonFaceAsync(IPersonDirectory, Guid, String, Guid, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFaceResponse> GetPersonFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, string recognitionModel, Guid persistedFaceId, System.Threading.CancellationToken cancellationToken = default);
static member GetPersonFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFaceResponse>
<Extension()>
Public Function GetPersonFaceAsync (operations As IPersonDirectory, personId As Guid, recognitionModel As String, persistedFaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersistedFaceResponse)
Parameters
- operations
- IPersonDirectory
- personId
- Guid
- recognitionModel
- String
- persistedFaceId
- Guid
- cancellationToken
- CancellationToken
Returns
Applies to
GetPersonFaceAsync(IPersonDirectory, String, 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.PersistedFaceResponse> GetPersonFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, string recognitionModel, string persistedFaceId, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member GetPersonFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFaceResponse>
<Extension()>
Public Function GetPersonFaceAsync (operations As IPersonDirectory, personId As String, recognitionModel As String, persistedFaceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersistedFaceResponse)
Parameters
- operations
- IPersonDirectory
- personId
- String
- recognitionModel
- String
- persistedFaceId
- String
- cancellationToken
- CancellationToken
Returns
- Attributes