PersonDirectoryExtensions.UpdatePersonAsync 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.
Overloads
UpdatePersonAsync(IPersonDirectory, String, EnrollmentRequest, CancellationToken) |
Obsolete.
|
UpdatePersonAsync(IPersonDirectory, Guid, String, String, CancellationToken) |
UpdatePersonAsync(IPersonDirectory, String, EnrollmentRequest, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
Caution
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 UpdatePersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentRequest body, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member UpdatePersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdatePersonAsync (operations As IPersonDirectory, personId As String, body As EnrollmentRequest, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IPersonDirectory
- personId
- String
- body
- EnrollmentRequest
- cancellationToken
- CancellationToken
Returns
- Attributes
Applies to
UpdatePersonAsync(IPersonDirectory, Guid, String, String, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task UpdatePersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, string name = default, string userData = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdatePersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdatePersonAsync (operations As IPersonDirectory, personId As Guid, Optional name As String = Nothing, Optional userData As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IPersonDirectory
- personId
- Guid
- name
- String
- userData
- String
- cancellationToken
- CancellationToken
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET