コード例 #1
0
 public string Method2()
 {
     try
     {
         _proxy.Method2();
     }
     catch (Exception exp)                 // filter appropriately...
     {
         // if its a login error...
         if (Login())
         {
             _proxy.Method2();
         }
         else
         {
             throw;
         }
     }
     return("");
 }