Compartilhar via


EventsExtensions.RewardWithHttpMessages Método

Definição

Relatar a recompensa para alocar a ação com melhor classificação para o evento especificado.

public static Microsoft.Rest.HttpOperationResponse RewardWithHttpMessages (this Microsoft.Azure.CognitiveServices.Personalizer.IEvents operations, string eventId, Microsoft.Azure.CognitiveServices.Personalizer.Models.RewardRequest reward, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member RewardWithHttpMessages : Microsoft.Azure.CognitiveServices.Personalizer.IEvents * string * Microsoft.Azure.CognitiveServices.Personalizer.Models.RewardRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse
<Extension()>
Public Function RewardWithHttpMessages (operations As IEvents, eventId As String, reward As RewardRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse

Parâmetros

operations
IEvents

O grupo de operações para esse método de extensão.

eventId
String

A ID do evento à qual essa recompensa se aplica.

reward
RewardRequest

A recompensa deve ser um número de ponto flutuante.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação.

Retornos

Aplica-se a