Compartilhar via


Events.ActivateWithHttpMessagesAsync Método

Definição

Relatar que o evento especificado foi de fato exibido para o usuário e uma recompensa deve ser esperada para ele.

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>
override this.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

A ID do evento à qual essa ativação se aplica.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Implementações

Exceções

Gerada quando a operação retornou um código de status inválido

Gerado quando um parâmetro necessário é nulo

Gerado quando um parâmetro necessário é nulo

Aplica-se a