Condividi tramite


EventsExtensions.ActivateWithHttpMessages Method

Definition

Report that the specified event was actually displayed to the user and a reward should be expected for it.

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

Parameters

operations
IEvents

The operations group for this extension method.

eventId
String

The event ID this activation applies to.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

Returns

Applies to