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