AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Forms.Application.ThreadException +=
new System.Threading.ThreadException
嗨我加载到另一个域的DLL,它加载到该域时正常工作,但是当我想通过代理对象从该域的一些信息,它给了我例外下面是审查代码任何错误的步骤? public class AssemblyProxy
{
System.Type[] _types;
public System.Type[] GetTypes()
{
return _types;
请考虑下面的代码: // Create a new application domain
AppDomain ad = AppDomain.CreateDomain("New domain");
Worker work = new Worker();
// if Worker class is marked as 'MarshalByRefObject', this will run i