次の方法で共有


EventsExtensions.RewardWithHttpMessages メソッド

定義

指定されたイベントの上位にランク付けされたアクションに割り当てる報酬を報告します。

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

パラメーター

operations
IEvents

この拡張メソッドの操作グループ。

eventId
String

この報酬が適用されるイベント ID。

reward
RewardRequest

報酬は浮動小数点数にする必要があります。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

戻り値

適用対象