To programmatically add messages to the Infolog, add the following namespace to your user control.
using Proxy = Microsoft.Dynamics.Framework.BusinessConnector.Proxy;
You can then add a message to the Infolog.
Proxy.Info objInfoLog = new Proxy.Info(this.AxSession.AxaptaAdapter);
objInfoLog.add(Proxy.Exception.Warning, "Hello World");
using Proxy = Microsoft.Dynamics.Framework.BusinessConnector.Proxy;
You can then add a message to the Infolog.
Proxy.Info objInfoLog = new Proxy.Info(this.AxSession.AxaptaAdapter);
objInfoLog.add(Proxy.Exception.Warning, "Hello World");
No comments:
Post a Comment