PersonDirectoryExtensions.UpdateDynamicPersonGroupAsync 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
UpdateDynamicPersonGroupAsync(IPersonDirectory, String, DynamicPersonGroupUpdateRequest, 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<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryUpdateDynamicPersonGroupHeaders> UpdateDynamicPersonGroupAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string dynamicPersonGroupId, Microsoft.Azure.CognitiveServices.Vision.Face.Models.DynamicPersonGroupUpdateRequest body, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member UpdateDynamicPersonGroupAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * Microsoft.Azure.CognitiveServices.Vision.Face.Models.DynamicPersonGroupUpdateRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryUpdateDynamicPersonGroupHeaders>
<Extension()>
Public Function UpdateDynamicPersonGroupAsync (operations As IPersonDirectory, dynamicPersonGroupId As String, body As DynamicPersonGroupUpdateRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryUpdateDynamicPersonGroupHeaders)
Parameters
- operations
- IPersonDirectory
- dynamicPersonGroupId
- String
- cancellationToken
- CancellationToken
Returns
- Attributes
Applies to
UpdateDynamicPersonGroupAsync(IPersonDirectory, String, String, String, IList<Guid>, IList<String>, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryUpdateDynamicPersonGroupHeaders> UpdateDynamicPersonGroupAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string dynamicPersonGroupId, string name = default, string userData = default, System.Collections.Generic.IList<Guid> addPersonIds = default, System.Collections.Generic.IList<string> removePersonIds = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateDynamicPersonGroupAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * string * System.Collections.Generic.IList<Guid> * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryUpdateDynamicPersonGroupHeaders>
<Extension()>
Public Function UpdateDynamicPersonGroupAsync (operations As IPersonDirectory, dynamicPersonGroupId As String, Optional name As String = Nothing, Optional userData As String = Nothing, Optional addPersonIds As IList(Of Guid) = Nothing, Optional removePersonIds As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryUpdateDynamicPersonGroupHeaders)
Parameters
- operations
- IPersonDirectory
- dynamicPersonGroupId
- String
- name
- String
- userData
- String
- cancellationToken
- CancellationToken