PersonGroupPersonExtensions.CreateAsync 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.
Create a new person in a specified person group.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Person> CreateAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson operations, string personGroupId, string name = default, string userData = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.Person>
<Extension()>
Public Function CreateAsync (operations As IPersonGroupPerson, personGroupId As String, Optional name As String = Nothing, Optional userData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Person)
Parameters
- operations
- IPersonGroupPerson
The operations group for this extension method.
- personGroupId
- String
Id referencing a particular person group.
- name
- String
User defined name, maximum length is 128.
- userData
- String
User specified data. Length should not exceed 16KB.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.