October 28, 2015 10:18 PM
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 :
You can refer my earlier post too using below link :
https://msdynamicsnavashwinitripathi.wordpress.com/2015/10/15/using-try-functions-in-navision-2016/
Posted by Ashwini Tripathi
Categories: Corfu Navision 2016, Development Tips, How To, Information, Tip & Tricks, TryFunction
Tags: 2016, Catch, Dynamics, Functions, Microsoft, Navision, Net, Try
Mobile Site | Full Site
Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.
[…] NAV Design Pattern: TryFunction – .NET Exception Handling in C/AL […]
LikeLike
By Microsoft Dynamics Navision 2016 – ‘Corfu’ Rewind | Ashwini Tripathi on October 29, 2015 at 10:52 PM