Partager via


EventsExtensions.ActivateWithHttpMessages Méthode

Définition

Indiquer que l’événement spécifié a été affiché à l’utilisateur et qu’une récompense est normalement attendue pour celui-ci.

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

Paramètres

operations
IEvents

Groupe d’opérations pour cette méthode d’extension.

eventId
String

ID d’événement à laquelle cette activation s’applique.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la requête.

Retours

S’applique à