Freigeben über


PersonDirectoryExtensions.CreatePersonAsync Methode

Definition

Überlädt

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

CreatePersonAsync(IPersonDirectory, EnrolledPerson, CancellationToken)

Quelle:
PersonDirectoryExtensions.cs

Achtung

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

Parameter

operations
IPersonDirectory
cancellationToken
CancellationToken

Gibt zurück

Attribute

Gilt für:

CreatePersonAsync(IPersonDirectory, String, String, CancellationToken)

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

Parameter

operations
IPersonDirectory
name
String
userData
String
cancellationToken
CancellationToken

Gibt zurück

Gilt für: