ToString() public method

Dumps out all of the properties.
public ToString ( ) : String
return String
Beispiel #1
0
        /// <summary>
        /// Starts the polling thread(s) when invoked.
        /// </summary>
        public void Start()
        {
            isRunning = true;
            log.Info("Starting queue poller(s) with the following properties: " + props.ToString());

            for (int i = 1; i <= props.NumberOfEventPollerThreads; i++)
            {
                log.Info("Starting queue poller thread # " + i);
                Thread poller = new Thread(this.Run);
                poller.Start();
            }

            log.Info("Poller(s) started");
        }