public static void Raise(string systemName) { try { ExternalErrorEvent event1 = new ExternalErrorEvent(); event1.Properties.Add("System", systemName); event1.Sign(); } catch (Exception exception1) { ReportException(exception1); } }
public static void Raise(string systemName, string format, params object[] paramInfo) { try { ExternalErrorEvent event1 = new ExternalErrorEvent(); event1.Properties.Add("System", systemName); event1.Properties.Add("Parameters", ComposeMessageString(format, paramInfo)); event1.Sign(); } catch (Exception exception1) { ReportException(exception1); } }