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)); } }
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}"); } }