コード例 #1
0
 public void Save()
 {
     try
     {
         factoryService.saveFactory(sessionID);
     }
     catch (EndpointNotFoundException)
     {
         ClientServerEvent(this, new ClientServerEventArgs());
     }
     catch (FaultException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Fehler auf Server"));
     }
     catch (NullReferenceException)
     {
         ClientServerEvent(this, new ClientServerEventArgs("Nicht zu Fabrik verbunden"));
     }
 }
コード例 #2
0
 public void Save()
 {
     factoryService.saveFactory(sessionID);
 }