Udostępnij za pośrednictwem


PersonalizerClient.ActivateAsync(String, CancellationToken) Method

Definition

Report that the specified event was actually used (e.g. by being displayed to the user) and a reward should be expected for it.

public virtual System.Threading.Tasks.Task<Azure.Response> ActivateAsync (string eventId, System.Threading.CancellationToken cancellationToken = default);
abstract member ActivateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ActivateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ActivateAsync (eventId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

eventId
String

The event ID to be activated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to