Exemplo n.º 1
0
 public void Write(string message)
 {
     try
     {
         session.LockResource();
         io.PrintfAndFlush(message);
         session.UnlockResource();
     }
     catch (Exception exception)
     {
         throw CreateThrowUpException(exception);
     }
 }
Exemplo n.º 2
0
 public void VXI11Unlock()
 {
     try
     {
         mSession.UnlockResource();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }