InterstitialAd.Cancelled Event


Raised when the user cancels the ad before it is considered complete.

// Register
event_token Cancelled(EventHandler<IInspectable> const& handler) const;

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

// Revoke with event_revoker
Cancelled_revoker Cancelled(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> Cancelled;
function onCancelled(eventArgs) { /* Your code */ }
interstitialAd.addEventListener("cancelled", onCancelled);
interstitialAd.removeEventListener("cancelled", onCancelled);
- or -
interstitialAd.oncancelled = onCancelled;
Public Custom Event Cancelled As EventHandler(Of Object) 

Event Type


Applies to