你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventsExtensions.ActivateWithHttpMessages 方法

定义

报告指定的事件已实际显示给用户,并且这应当获得奖励。

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

参数

operations
IEvents

此扩展方法的操作组。

eventId
String

此激活应用于的事件 ID。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

返回

适用于