My application uses Task objects to do some jobs. Each Task can have it's own language setting, so I use a separate CultureInfo instead of CultureInfo.CurrentCulture when formatting numbers and strings or load language specific resources. So far so good, but: Whenever I use framework functionality or sealed libraries who works with CultureInfo.CurrentCulture, of course, I get wrong results, because the CultureInfo.CurrentCulture is different from the Task scope CultureInfo.
I wish I could set the CultureInfo.CurrentCulture for the current Task scope. But my investigations says, that CultureInfo.CurrentCulture is per thread, and often my Tasks are running in the same thread.
So the question is: Is there a way to force CultureInfo.CurrentCulture to be specific for Task scope instead just for thread scope?