コード例 #1
0
 /// <summary>
 /// Use this event to send error messages to a client.
 /// </summary>
 /// <param name="errorMessage">A message that will notify the client
 ///     as to the nature of the error message.</param>
 public void SendErrorMessage(string errorMessage)
 {
     ErrorMessageEvent.SendMessage("Error: " + errorMessage);
 }
コード例 #2
0
 /// <summary>
 /// Send the message to the message event handler.
 /// </summary>
 /// <param name="message"></param>
 public void SendMessage(string message)
 {
     MessageEvent.SendMessage(message);
 }