Stop service from executing on demand

Apr 3, 2007 at 9:04 PM
I'm new to the SCSF. I have a service that I call in a presenter which executes for at least 2 minutes. I want to be able to stop the execution of this call on demand before it reaches the 2 minutes. The view has a button that will go to a function in the presenter to stop the call. I tried simply disposing the service object, but it freezes up the application. Can someone help with this? The code is something like this:

_Service.DoStuff(100000, x, delegate(bool success, object y)
if (success)

In another method in the presenter, I want to be able to run some code that will stop this service on demand. Right now I have _Service.Dispose(). Does anyone have any helpful ideas? Thanks in advance!
Apr 4, 2007 at 4:58 PM
You'll have better luck with your question on the SCSF discussion. This discussion is for CodePlex, the site.