InterstitialAd.Cancelled Event
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.
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
InterstitialAd::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)