WoWHeadParser.Worker.Stop C# (CSharp) 메소드

Stop() 공개 메소드

public Stop ( ) : void
리턴 void
        public void Stop()
        {
            m_isWorking = false;
            m_service.ConnectionLeaseTimeout = 0;
        }

Usage Example

        private void AbortButtonClick(object sender, EventArgs e)
        {
            DialogResult result = ShowQuestionMessageBox("Do you really want to stop ?");

            if (result != DialogResult.OK)
            {
                return;
            }

            _worker.Stop();
            startButton.Enabled = true;
            abortButton.Enabled = false;
            progressLabel.Text  = "Abort...";
        }
All Usage Examples Of WoWHeadParser.Worker::Stop