AdControl.AdRefreshed 事件

定义

当 AdControl 收到新的横幅广告时引发。

// Register
event_token AdRefreshed(EventHandler<RoutedEventArgs> const& handler) const;

// Revoke with event_token
void AdRefreshed(event_token const* cookie) const;

// Revoke with event_revoker
AdControl::AdRefreshed_revoker AdRefreshed(auto_revoke_t, EventHandler<RoutedEventArgs> const& handler) const;
public event System.EventHandler<RoutedEventArgs> AdRefreshed;
function onAdRefreshed(eventArgs) { /* Your code */ }
adControl.addEventListener("adrefreshed", onAdRefreshed);
adControl.removeEventListener("adrefreshed", onAdRefreshed);
- or -
adControl.onadrefreshed = onAdRefreshed;
Public Custom Event AdRefreshed As EventHandler(Of RoutedEventArgs) 

事件类型

适用于