PersonDirectory.AddPersonFaceFromUrlWithHttpMessagesAsync 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.
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>>
override this.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))
Parameters
- personId
- Guid
- recognitionModel
- String
- url
- String
- detectionModel
- String
- userData
- String
- targetFace
- String
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken