Partager via


PersonDirectoryExtensions.CreatePersonAsync Méthode

Définition

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
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 à