Partager via


IPersonDirectory.AddPersonFaceFromUrlWithHttpMessagesAsync Méthode

Définition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentPrintResponse,Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryAddPersonFaceFromUrlHeaders>> AddPersonFaceFromUrlWithHttpMessagesAsync (Guid personId, string recognitionModel, string url, string detectionModel = default, string userData = default, string targetFace = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddPersonFaceFromUrlWithHttpMessagesAsync : Guid * string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentPrintResponse, Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryAddPersonFaceFromUrlHeaders>>
Public Function AddPersonFaceFromUrlWithHttpMessagesAsync (personId As Guid, recognitionModel As String, url As String, Optional detectionModel As String = Nothing, Optional userData As String = Nothing, Optional targetFace As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EnrollmentPrintResponse, PersonDirectoryAddPersonFaceFromUrlHeaders))

Paramètres

personId
Guid
recognitionModel
String
url
String
detectionModel
String
userData
String
targetFace
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Retours

S’applique à