How to check if your code is running as CIL?

If (!xSession::isCLRSession())
// Some code here which you don’t want to execute


About is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.

Authors are allowed to set their own AdSense units.
Join us.

Blog Tags