protected virtual void OnServerExceptionOccured(UdpServerExceptionEventArgs e) { this.ServerExceptionOccured?.Invoke(this, e); }
/// <summary> /// 服务端异常 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AsyncNetUdpServer_ServerExceptionOccured(object sender, UdpServerExceptionEventArgs e) => Program.Logger.Log("UdpSocketServer", "ExceptionOccured=>" + e.Exception.Message);