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(); }
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(); }