Ejemplo n.º 1
0
 protected void InvokeDuplex(Action <TService> call)
 {
     using (var client = Factory.GetDuplexClient <TService>(CallbackInstance))
     {
         try
         {
             call(client.Channel);
         }
         catch
         {
             client.Abort();
             throw;
         }
     }
 }