开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜