Compartilhar via


PolicyExtensions.UpdateAsync Método

Definição

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)

Parâmetros

operations
IPolicy
cancellationToken
CancellationToken

Retornos

Aplica-se a