Are you using the TaskClient? with that you can get the content of the task and get the parameters. Which alternatives did you try already? Or are you waiting here until someone respond?
What errors are you getting? Can you give us more background about what are you trying to do?
Cheers