Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 public ExceptionSender(string apiKey, ExceptionData data)
     : this(apiKey)
 {
     exceptionData = data;
 }