PersonalizerClient.ActivateAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.