コード例 #1
0
 private void ReportException(ExceptionData exData, bool async)
 {
     ExceptionSender sender = new ExceptionSender(apiKey,  exData);
     if (async)
     {
         Thread senderThread = new Thread(new ThreadStart(sender.SendException));
         senderThread.Start();
     }
     else
     {
         sender.SendException();
     }
 }
コード例 #2
0
 public ExceptionSender(string apiKey, ExceptionData data)
     : this(apiKey)
 {
     exceptionData = data;
 }