开发者

How can I determine the exception which comes from the dll

How can I determine the exception which comes from the dll

Main.exe

-subdll1.dll //dll error occurs at this, how can I find the error occurred from this dll.

-subdll2.dll

like this

delegate(object sender, UnhandledExceptionE开发者_运维问答ventArgs e) {

    e.ExceptionSourceAssebmly like this

}


To see where an exception is defined you'll need to look at the top of the exception's stack trace.

Exception.TargetSite might contain this information directly (as a MethodBase), but the documentation notes it doesn't work across AppDomain boundaries.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜