Freigeben über


PersonDirectoryExtensions.GetPersonAsync Methode

Definition

Überlädt

GetPersonAsync(IPersonDirectory, String, CancellationToken)
Veraltet.
GetPersonAsync(IPersonDirectory, Guid, CancellationToken)

GetPersonAsync(IPersonDirectory, String, CancellationToken)

Quelle:
PersonDirectoryExtensions.cs

Achtung

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)

Parameter

operations
IPersonDirectory
personId
String
cancellationToken
CancellationToken

Gibt zurück

Attribute

Gilt für:

GetPersonAsync(IPersonDirectory, Guid, CancellationToken)

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

Parameter

operations
IPersonDirectory
personId
Guid
cancellationToken
CancellationToken

Gibt zurück

Gilt für: