Пример #1
0
        private void Source_ExceptionOccured(object sender, EventArgs e)
        {
            var args = e as ExceptionEventArgs;

            _logger.LogException(args.Exception);

            _source.DisConnect();
            Thread.Sleep(1000);
            _source.Connect();
        }