I have thread Like this, after i see example link text
ThreadStart _threadStart = new ThreadStart(delegate()
{
try
{
threadFunction(httpContext);
}
catch (Exception ex)
{
throw ex;
}
});
Thread _thread = new Thread(_threadStart);
_thread.Start();
when an Exception happen it dosen’t re-thrown in the thread that started it.
So what i’m doing wrong or how to do it?
Note: thanks to all comments in advanced
The exception will be thrown, but that will only end the thread. The exception isn’t re-thrown in the thread that started it.