How msbuild task is signled to stop when a user manually stops a build

I am writing a custom msbuild task that will be going to spwan multiple processes and can take significant time to complete. But, if the user stops the build I want to terminated all the processes started by the msbuild task before exiting. Does teamcity has a way to signal the msbuild task to stop or it just kills the processes without giving it a chance to cleanup.


Please sign in to leave a comment.