Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: Delegates x++ interop .NET

$
0
0
AX 7 supports working with tasks, but there still no support for delegates (in usual sense) in X++ (not mentioning lambda functions), therefore you have to pass name of a static method (and its class) to be called. You could do something similar in AX 2012. Nevertheless if you can, move your code creating the task to a Visual Studio project. There you can use use proper .NET delegates and if you need something from AX, just use AX proxy classes.

Viewing all articles
Browse latest Browse all 101540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>