FaceListOperationsExtensions.AddFaceFromUrlAsync 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 static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace> AddFaceFromUrlAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceListOperations operations, string faceListId, string url, string userData = default, System.Collections.Generic.IList<int> targetFace = default, string detectionModel = default, System.Threading.CancellationToken cancellationToken = default);
static member AddFaceFromUrlAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IFaceListOperations * string * string * string * System.Collections.Generic.IList<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>
<Extension()>
Public Function AddFaceFromUrlAsync (operations As IFaceListOperations, faceListId As String, url As String, Optional userData As String = Nothing, Optional targetFace As IList(Of Integer) = Nothing, Optional detectionModel As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersistedFace)
Parameters
- operations
- IFaceListOperations
- faceListId
- String
- url
- String
- userData
- String
- detectionModel
- String
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET