Compartir a través de


IEvents.ActivateWithHttpMessagesAsync Método

Definición

Notificación de que el evento especificado se mostró al usuario y de que se espera una recompensa por el mismo.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> ActivateWithHttpMessagesAsync (string eventId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ActivateWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function ActivateWithHttpMessagesAsync (eventId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)

Parámetros

eventId
String

El identificador de evento al que se aplica esta activación.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando un parámetro obligatorio es NULL

Se aplica a