using System.Net.Sockets; namespace JiLinApp.Docking.VibrateAlarm; /// /// 与客户端的连接已断开事件参数 /// public class TcpClientDisconnectedEventArgs : EventArgs { /// /// 与客户端的连接已断开事件参数 /// /// 客户端 public TcpClientDisconnectedEventArgs(TcpClient tcpClient) { if (tcpClient == null) throw new ArgumentNullException("tcpClient"); TcpClient = tcpClient; } /// /// 客户端 /// public TcpClient TcpClient { get; private set; } }