16.01.2009, 18:05 | #1 |
Участник
|
msdynamicsax: How to get the current call stack in X++
Источник: http://msdynamicsax.wordpress.com/20...ll-stack-in-x/
============== A neat feature in X++ is the ability to get the current call stack. You do this by writing the following anywhere in the code: xSession:: xppCallStack(); // without the space between : and x It’s there just because when I type them together in WordPress, this is what I get The method returns a container, but you can offcourse convert it to a string by using the con2str() method and search for a specific method or class by using the strscan() method. This way, you can separate the code depending on how it has been initiated. Источник: http://msdynamicsax.wordpress.com/20...ll-stack-in-x/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|