When you want to use objects from the .NET Framework in C/AL code, one of the main challenges is to handle exceptions that the methods of these objects may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a user is doing without having a chance to properly display errors in a user-friendly format.
For more details check following links :
https://blogs.msdn.microsoft.com/nav/2015/10/28/nav-design-pattern-tryfunction-net-exception-handling-in-cal/
You can refer my earlier post too using below link :
https://msdynamicsnavashwinitripathi.wordpress.com/2015/10/15/using-try-functions-in-navision-2016/
28.628511
77.438981
Like this:
Like Loading...
Related
Published by Ashwini Tripathi
Company was incorporated under sub-section (2) of section 7 of Companies Act, 2013 and
rule 18 the Companies (Incorporation Rules, 2014.
Company Directors are (1) Ashwini Tripathi & (2) Rashmi Tripathi
We provide wide range of services currently only for Microsoft Dynamics Navision.
(1) Freelancing
(2) Virtual Employee
(3) Hourly basis service
(4) Dedicated resource
(5) Training
You can hire/ contract/ offshore work. Provide assistance and service for Implementation,
Development and Upgrade.
We are also Partner under Affiliate/MVAR Program for NAV, AX & CRM.
Currently we are servicing to only international customers.
We have associated with some Indian Companies to service International Customers.
We have provided service to Microsoft Affiliated Partners too.
We have our own customers too.
View all posts by Ashwini Tripathi
1 thought on “NAV Design Pattern: TryFunction – .NET Exception Handling in C/AL”
Comments are closed.