你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PersonDirectoryExtensions.GetPersonFaceAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetPersonFaceAsync(IPersonDirectory, Guid, String, Guid, CancellationToken) | |
GetPersonFaceAsync(IPersonDirectory, String, String, String, CancellationToken) |
已过时.
|
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)
参数
- operations
- IPersonDirectory
- personId
- Guid
- recognitionModel
- String
- persistedFaceId
- Guid
- cancellationToken
- CancellationToken
返回
适用于
GetPersonFaceAsync(IPersonDirectory, String, String, String, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
注意
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)
参数
- operations
- IPersonDirectory
- personId
- String
- recognitionModel
- String
- persistedFaceId
- String
- cancellationToken
- CancellationToken
返回
- 属性