开发者

MSCRM 4.0 - Error Logging from a Custom Plugin

I am using mscr开发者_StackOverflow中文版m 4.0 and .net 3.5.

I have written a custom plugin, that is erroring! (solving the error is not my question though)

When my dynamic entity code, tries to update the organisation, it errors with a generic Soap Exception "Server was not able to process request".

I need to look at the inner detail of the soap exception to figure out the problem.

So my question is - what is the best way to log errors and get all of the information from a soap exception - from custom plugin?

Thanks


If you're using a try-catch then you could always catch a SoapException first then log the inner exception/detail property.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜