Пример #1
0
        protected void btnStartTask_Click(object sender, EventArgs e)
        {
            ProcessController pController = new ProcessController(Session);
            string            message     = pController.InitializeAndStartProcess();

            Response.Write(message);
        }
        public void TerminateLongProcess()
        {
            //Terminate the process with the help of process controller
            ProcessController pController = new ProcessController(Session);

            pController.TerminateProcess();
            GetProgress();
        }
Пример #3
0
        public void TerminateLongProcess()
        {
            //Terminate the process with the help of process controller
            ProcessController pController = new ProcessController(Session);

            pController.TerminateProcess(); //terminate all the process, not just a single one
            GetProgress();
        }