Пример #1
0
 public void WriteExportLog(int ExportRowCount, string ExportDataMsg)
 {
     try
     {
         OraAuthorizeFactroy _of = new OraAuthorizeFactroy();
         _of.WriteExportLog(ExportRowCount, ExportDataMsg);
     }
     catch (Exception ex)
     {
         string _error = string.Format("写入导出日志时[ExportRowCount={1} ExportDataMsg={2}]时发生错误!{0}", ex.Message, ExportRowCount, ExportDataMsg);
         //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error);
         throw new FaultException(_error, new FaultCode("服务"));
     }
 }