PolicyExtensions.UpdateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Personalizer.Models.PolicyContract> UpdateAsync (this Microsoft.Azure.CognitiveServices.Personalizer.IPolicy operations, Microsoft.Azure.CognitiveServices.Personalizer.Models.PolicyContract policy, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.CognitiveServices.Personalizer.IPolicy * Microsoft.Azure.CognitiveServices.Personalizer.Models.PolicyContract * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Personalizer.Models.PolicyContract>
<Extension()>
Public Function UpdateAsync (operations As IPolicy, policy As PolicyContract, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PolicyContract)

Parameters

operations
IPolicy
cancellationToken
CancellationToken

Returns

Applies to