private void adView_ReceivedThirdPartyRequest(object sender, MASTAdView.ThirdPartyRequestEventArgs e) { string entry = "adView_ReceivedThirdPartyRequest Properties:" + App.FormattedString(e.Properties) + " Parameters:" + App.FormattedString(e.Parameters); addEntry(entry); }
async private void adView_ReceivedThirdPartyRequest(object sender, MASTAdView.ThirdPartyRequestEventArgs e) { // Since these events can come from a non-main/UI thread, dispatch properly. await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, delegate() { textBlock.Text += "Properties:" + App.FormattedString(e.Properties) + " Parameters:" + App.FormattedString(e.Parameters) + "\n\n"; }); }