public string ChkInstall(string sUnid) { Partial.wslogger.WS_Logger ws = new Partial.wslogger.WS_Logger(); // ws.Timeout = 20000; try { string sRes = ""; if (sEmail.Contains(@"cookconsulting")) { sRes = "go"; } else { sRes = ws.ChkInstall(sUnid); } return(sRes); } catch (Exception ex) { throw ex; } finally { ws.Dispose(); } }
public void LogEvent(string sUnid, string sMsg, int iStatus, int iBatch) { Partial.wslogger.WS_Logger ws = new Partial.wslogger.WS_Logger(); if (iStatus == 10000) { ws.Logger(sUnid, sCustomerName + "&" + sUserName, iStatus, iBatch); } else { ws.Logger(sUnid, sMsg, iStatus, iBatch); } ws.Dispose(); }
public string PackXml(string sXml, string sUnid) { string sOut = ""; Partial.wslogger.WS_Logger ws = new Partial.wslogger.WS_Logger(); // ws.Timeout = 20000; try { sOut = ws.RndCustXml(sXml, sUnid); } catch (Exception ex) { throw ex; } finally { ws.Dispose(); } return(sOut); }
public void LogEvent() { Partial.wslogger.WS_Logger ws = new Partial.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(); } }