Esempio n. 1
0
        protected override void OnStopping()
        {
            _busTcpClient.Stop();
            Thread.Sleep(2000);

            _logger.LogInformation("OnStopping has been called.");
        }
 protected override void OnStopping()
 {
     _logger.LogInformation("OnStopping has been called.");
     _serviceBusTcpClient.Stop();
 }