public void LogEvent(string sUnid, string sMsg, int iStatus, int iBatch) { UncBasedInstaller.wslogger.WS_Logger ws = new UncBasedInstaller.wslogger.WS_Logger(); ws.Logger(sUnid, sMsg, iStatus, iBatch); ws.Dispose(); }
public void LogEvent() { UncBasedInstaller.wslogger.WS_Logger ws = new UncBasedInstaller.wslogger.WS_Logger(); // ws.Timeout = 20000; IBatchNo = -1; try { int iBatch = int.Parse(ws.FindNextId(sUnid)); IBatchNo = iBatch; ws.Logger(sUnid, sXmlDoc, 99999, iBatch); } catch (Exception ex) { throw ex; } finally { ws.Dispose(); } }