Hi ,
I am using one of the Microsoft dll in my X++ code. It is throwing System.UnauthorizedAccessException exception when I pass incorrect values.
This is the error message it is throwing
"System.UnauthorizedAccessException was unhandled by user code
Message: An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
but was not handled in user code"
Can some one please suggest how to catch this exception in D365 AX
Thanks