SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void HandleError(AggregateException ae)
  2. {
  3.     foreach (var e in ae.InnerExceptions)
  4.     {
  5.         HandleError(e);
  6.     }
  7. }
  8.  
  9. public static void HandleError(Exception e)
  10. {
  11.     // log exception
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top