Bagikan melalui


AdControl.AdRefreshed Event

Definition

Raised when the AdControl receives a new banner ad.

// 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) 

Event Type

Applies to