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