你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersonDirectoryExtensions.UpdatePersonFaceAsync 方法

定义

重载

UpdatePersonFaceAsync(IPersonDirectory, String, String, String, PersistedFaceWithType, CancellationToken)
已过时.
UpdatePersonFaceAsync(IPersonDirectory, Guid, String, Guid, String, String, CancellationToken)

UpdatePersonFaceAsync(IPersonDirectory, String, String, String, PersistedFaceWithType, 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 UpdatePersonFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, string recognitionModel, string persistedFaceId, Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFaceWithType body, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member UpdatePersonFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFaceWithType * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdatePersonFaceAsync (operations As IPersonDirectory, personId As String, recognitionModel As String, persistedFaceId As String, body As PersistedFaceWithType, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IPersonDirectory
personId
String
recognitionModel
String
persistedFaceId
String
cancellationToken
CancellationToken

返回

属性

适用于

UpdatePersonFaceAsync(IPersonDirectory, Guid, String, Guid, String, String, CancellationToken)

Source:
PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task UpdatePersonFaceAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, string recognitionModel, Guid persistedFaceId, string detectionModel = default, string userData = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdatePersonFaceAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * string * Guid * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdatePersonFaceAsync (operations As IPersonDirectory, personId As Guid, recognitionModel As String, persistedFaceId As Guid, Optional detectionModel As String = Nothing, Optional userData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IPersonDirectory
personId
Guid
recognitionModel
String
persistedFaceId
Guid
detectionModel
String
userData
String
cancellationToken
CancellationToken

返回

适用于