private void Handle(CommunicationException cEx, string additionalInformation = null)
 {
     base.StopWorker();
     _service = null;
     OpenServiceCommunicationAsync();
     Log($"{$"{additionalInformation}: " ?? ""}{cEx}", LogLevel.WARNING);
 }
Beispiel #2
0
 private void OpenServiceCommunicationAsync()
 {
     new Thread(() =>
     {
         _service = new TemperatureMonitorServiceReference.HardwareMonitorTemperatureWCFContractClient();
         StartWorkerAsync();
     }).Start();
 }
 private void OpenServiceCommunicationAsync()
 {
     new Thread(() =>
     {
         _service = new TemperatureMonitorServiceReference.HardwareMonitorTemperatureWCFContractClient();
         StartWorker();
     }).Start();
 }
Beispiel #4
0
 private void Handle(CommunicationException cEx, string additionalInformation = null)
 {
     _service = null;
     OpenServiceCommunicationAsync();
     Log($"{$"{additionalInformation}: " ?? ""}{cEx}", LogLevel.Debug);
 }