コード例 #1
0
 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);
       }
 }
コード例 #2
0
 public static void Raise(string message)
 {
     try
       {
     TraceInfoEvent event1 = new TraceInfoEvent();
     event1.m_Message = message;
     event1.Sign();
       }
       catch (Exception exception1)
       {
     ReportException(exception1);
       }
 }