Hello Community,
i think it would be a good idea to discuss the CAS feature of dynamics ax deeper.
As I understand we have a stack trace which like the following:
A: myReadFileMethod();
calls
B: CommaIo
calls
C: WinApi' openFile
And Microsoft calles a demand in the winapi method (or on the first method on the stack) do say "Hey, if you call this code you have to ask first?"....
Then if I do not "ask" using an assert in the myReadFileMethod i will get an error. So I have to write an assert to tell the System "Hey, i need to access the fileio" and the system would then check (from documentation)
a) is the calling code saved in the aot (wondering how to check:))?
b) is the calling code on the stack trace?
c) is the calling code running on the server?
As i read the assert method in the .net framework does work a litte bit different. It does stop the check of the stack trace? This is confusing?
I would appreciate some discussion or more information on that.
Regards,
Andi
*This post is locked for comments
I have the same question (0)