コード例 #1
0
        /// <summary>
        /// Stop the message broker.
        /// </summary>
        public void Stop()
        {
            StopServices();
            StopEndpoints();

            if (_globalScope != null)
            {
                _globalScope.Stop();
                _globalScope.Dispose();
                _globalScope = null;
            }

            UnregisterMessageBroker();
        }