コード例 #1
0
 async private void adView_LoggingEvent(object sender, MASTAdView.LoggingEventEventArgs 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 += "LogLevel:" + e.LogLevel + " Entry:" + e.Entry + "\n\n";
     });
 }
コード例 #2
0
        private void adView_LoggingEvent(object sender, MASTAdView.LoggingEventEventArgs e)
        {
            string entry = "adView_LoggingEvent LogLevel:" + e.LogLevel + " Entry:" + e.Entry;

            addEntry(entry);
        }