Freigeben über


PolicyExtensions.UpdateAsync Methode

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)

Parameter

operations
IPolicy
cancellationToken
CancellationToken

Gibt zurück

Gilt für: