Exemple #1
0
 public async Task FreezeAsync()
 {
     try {
         await stub.FreezeAsync(new FreezeRequest());
     } catch (RpcException e) {
         PupExec.Servs[IdServ].NegAvailSync();
         MessageBox.Show(string.Format("FreezeAsync: Not Executed!{0}{1}", Environment.NewLine, e.Message));
     }
 }
Exemple #2
0
 public async Task FreezeAsync()
 {
     try {
         await stub.FreezeAsync(new FreezeRequest());
     } catch (RpcException e) {
         PupExec.Servs[IdServ].NegAvailSync();
         MessageBox.Show($"FreezeAsync: Not Executed!{Environment.NewLine}{e.Message}");
     }
 }