示例#1
0
        protected virtual void OnClientStopped(TcpClientStoppedEventArgs e)
        {
            try
            {
                this.ClientStopped?.Invoke(this, e);
            }
            catch (Exception ex)
            {
                var unhandledExceptionEventArgs = new ExceptionEventArgs(ex);

                this.OnUnhandledException(unhandledExceptionEventArgs);
            }
        }
示例#2
0
 protected virtual void OnClientStopped(TcpClientStoppedEventArgs e)
 {
     this.ClientStopped?.Invoke(this, e);
 }