Hello,
I have a webservice with a function that takes a string as parameter and returns a bool. What I i'm trying to accomplish is start a new thread in that function and pass it the string parameter and immediately return true to the client calling that function.
So something like this:
public bool myFunction(string path){
//Create new thread call a funciton and pass the path parameter value and immediately return a response to client while other thread is doing background work
return true;
}
I have been looking around and call me blind but haven't figured out how todo this. I have seen examples of people calling new threads with the Task objects or different other ways but all the examples I have ran into I can't seem to pass a parameter to
the function in the new thread... Help on how to accomplish this would be much appreciated!
Thanks
Alex
...
Go to the complete details ...