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