PersonDirectoryExtensions.CreatePersonAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreatePersonAsync(IPersonDirectory, EnrolledPerson, CancellationToken) |
Obsolète.
|
CreatePersonAsync(IPersonDirectory, String, String, CancellationToken) |
CreatePersonAsync(IPersonDirectory, EnrolledPerson, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
Attention
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.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonCreationResponse,Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreatePersonHeaders>> CreatePersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrolledPerson body, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member CreatePersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrolledPerson * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonCreationResponse, Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreatePersonHeaders>>
<Extension()>
Public Function CreatePersonAsync (operations As IPersonDirectory, body As EnrolledPerson, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of PersonCreationResponse, PersonDirectoryCreatePersonHeaders))
Paramètres
- operations
- IPersonDirectory
- body
- EnrolledPerson
- cancellationToken
- CancellationToken
Retours
- Attributs
S’applique à
CreatePersonAsync(IPersonDirectory, String, String, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonCreationResponse,Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreatePersonHeaders>> CreatePersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string name = default, string userData = default, System.Threading.CancellationToken cancellationToken = default);
static member CreatePersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonCreationResponse, Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryCreatePersonHeaders>>
<Extension()>
Public Function CreatePersonAsync (operations As IPersonDirectory, Optional name As String = Nothing, Optional userData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of PersonCreationResponse, PersonDirectoryCreatePersonHeaders))
Paramètres
- operations
- IPersonDirectory
- name
- String
- userData
- String
- cancellationToken
- CancellationToken
Retours
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET