Compartir a través de


PersonDirectoryExtensions.CreatePersonAsync Método

Definición

Sobrecargas

CreatePersonAsync(IPersonDirectory, EnrolledPerson, CancellationToken)
Obsoletos.
CreatePersonAsync(IPersonDirectory, String, String, CancellationToken)

CreatePersonAsync(IPersonDirectory, EnrolledPerson, CancellationToken)

Source:
PersonDirectoryExtensions.cs

Precaución

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

Parámetros

operations
IPersonDirectory
cancellationToken
CancellationToken

Devoluciones

Atributos

Se aplica a

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

Parámetros

operations
IPersonDirectory
name
String
userData
String
cancellationToken
CancellationToken

Devoluciones

Se aplica a