protected override bool SendExceptionReportInBackground(IExceptionReportSender innerSender, LogifyClientExceptionReport report) { if (innerSender != null) { return(innerSender.SendExceptionReport(report)); } else { return(false); } }
protected override Task <bool> SendExceptionReportInBackgroundAsync(IExceptionReportSender innerSender, LogifyClientExceptionReport report) { Thread thread = new Thread(() => { if (innerSender != null) { innerSender.SendExceptionReport(report); } }); //thread.Priority = ThreadPriority.Highest; thread.Start(); //Thread.Sleep(3000); return(Task.FromResult(true)); }