Example #1
0
 private static void MyMethod(Deferred<string, string> deferred, string obj)
 {
     Console.WriteLine(obj);
     throw new Exception("real test exception");
     deferred.Reject(new Exception("test exception"));
 }