Exemple #1
0
 /// <summary>
 /// </summary>
 public ExecMsg(ExecMsgSeverity msgSeverity, SysMsgCode msgID, params object[] msgParams) :
     this(msgSeverity, (int)msgID, msgParams)
 {
 }
Exemple #2
0
 /// <summary>
 /// Raise a single message, using specified criteria for the
 /// new message.
 /// </summary>
 /// <param name="severity">Severity of message.</param>
 /// <param name="msgID">MessageCode</param>
 /// <param name="msgParams">Optional parameters used with the message content (string)
 /// that is defined for this message code.</param>
 public static void RaiseMsg(ExecMsgSeverity severity, SysMsgCode msgID, params object[] msgParams)
 {
     RaiseMsg(new ExecMsg(severity, msgID, msgParams));
 }
Exemple #3
0
 /// <summary>
 /// Gets the message text for a given Message ID.
 /// </summary>
 public static string GetMessageContent(SysMsgCode messageID)
 {
     return(GetMessageContent((int)messageID));
 }