你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersonalizerClient.Activate(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 Azure.Response Activate(string eventId, System.Threading.CancellationToken cancellationToken = default);
abstract member Activate : string * System.Threading.CancellationToken -> Azure.Response
override this.Activate : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Activate (eventId As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

eventId
String

The event ID to be activated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to