using System;
namespace SocketHttpListener
{
  /// 
  /// Contains the event data associated with a  event.
  /// 
  /// 
  /// A  event occurs when the  gets an error.
  /// If you would like to get the error message, you should access the 
  /// property.
  /// 
  public class ErrorEventArgs : EventArgs
  {
    #region Private Fields
    private string _message;
    #endregion
    #region Internal Constructors
    internal ErrorEventArgs (string message)
    {
      _message = message;
    }
    #endregion
    #region Public Properties
    /// 
    /// Gets the error message.
    /// 
    /// 
    /// A  that represents the error message.
    /// 
    public string Message {
      get {
        return _message;
      }
    }
    #endregion
  }
}