Пример #1
0
        public void LogEvent()
        {
            Installer.wslogger.Ws_Logger ws = new Installer.wslogger.Ws_Logger();
            // ws.Timeout = 20000;
            IBatchNo = -1;
            try
            {
                int iBatch = int.Parse(ws.FindNextId(sUnid));
                IBatchNo = iBatch;
// 15 May 2012
// skip logging the cook stuff
                //if (sEmail.Contains(@"cookconsulting"))
                //{ }
                //else
                ws.Logger(sUnid, sXmlDoc, 99999, iBatch);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                ws.Dispose();
            }
        }