public static void LogUnhandledException(this AsyncTask task, string prefix, Exception ex)
 {
     LogUnhandledException((code, message) => task.LogCodedError(code, message), prefix, ex);
 }
 static void LogErrorAndCancel(AsyncTask asyncTask, Exception exc)
 {
     asyncTask.LogCodedError("XA0000", "Unhandled exception: {0}", exc);
     asyncTask.Cancel();
 }
Esempio n. 3
0
 static void LogErrorAndCancel(AsyncTask asyncTask, Exception exc)
 {
     asyncTask.LogCodedError("XA0000", Properties.Resources.XA0000_Exception, exc);
     asyncTask.Cancel();
 }