there,
a piece of code is like this:
try
{
ClassA a = new ClassA();
}
catch(Exception e)
{
......
}
that class A is in another assembly, however, in some environment, that assembly got corrupted, so I expect I will receive the invalidPrgramExecption. However, when the above code is running in w3wp process, it just got crashed without even if I want to catch the base Exception class.
Do you know what's the reason why InvalidProgramException won't be captured? (because of the multi thread environment?) Is there any way that I can handle this exception gracefully without crash?
Thanks!