Пример #1
0
 public static void Raise(bool success)
 {
     try
       {
     TraceCallReturnEvent event1 = new TraceCallReturnEvent();
     event1.m_Success = success;
     event1.SignTheEvent();
       }
       catch (Exception exception1)
       {
     ReportException(exception1);
       }
 }
Пример #2
0
 public static void Raise(string message)
 {
     try
       {
     TraceCallReturnEvent event1 = new TraceCallReturnEvent();
     event1.m_Message = message;
     event1.SignTheEvent();
       }
       catch (Exception exception1)
       {
     ReportException(exception1);
       }
 }
Пример #3
0
 public static void Raise(bool success, string format, params object[] paramInfo)
 {
     try
       {
     TraceCallReturnEvent event1 = new TraceCallReturnEvent();
     event1.m_Success = success;
     event1.Properties.Add("Returns", ComposeMessageString(format, paramInfo));
     event1.SignTheEvent();
       }
       catch (Exception exception1)
       {
     ReportException(exception1);
       }
 }