Пример #1
0
 public void Write(string message)
 {
     try
     {
         session.LockResource();
         io.PrintfAndFlush(message);
         session.UnlockResource();
     }
     catch (Exception exception)
     {
         throw CreateThrowUpException(exception);
     }
 }
Пример #2
0
 public void VXI11Unlock()
 {
     try
     {
         mSession.UnlockResource();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }