开发者

Dynamics AX / AXAPTA .Net Business Connector - How to clear old exceptions

开发者 https://www.devze.com 2023-04-12 03:02 出处:网络
I\'m writing a little tool to process AX transactions and have discovered that with each error, my exception output grows.

I'm writing a little tool to process AX transactions and have discovered that with each error, my exception output grows.

It ap开发者_开发知识库pears that each time an XppException happens all previous exceptions are output as well. As you can imagine, this is not pretty and can cause confusion.

Is there some way to clear all the built-up exception messages when handling each exception?

Also, I am getting a large number of

ClrBridgeLoader : fatal error : Microsoft.Dynamics.ClrBridge.dll cannot be loaded.

error messages. How to clear these up as well?


Figured this out on my own:

AxaptaObject infolog = this._ax.GetObject("infolog");
infolog.Call("clear", 0);
0

精彩评论

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

关注公众号