ARKSD Consultancy Private Limited


Home | Pages | Archives


NAV Design Pattern: TryFunction – .NET Exception Handling in C/AL

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 :

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/

Rate this:

Posted by Ashwini Tripathi

Categories: Corfu Navision 2016, Development Tips, How To, Information, Tip & Tricks, TryFunction

Tags: , , , , , , ,

One Response to “NAV Design Pattern: TryFunction – .NET Exception Handling in C/AL”

  1. […] NAV Design Pattern: TryFunction – .NET Exception Handling in C/AL […]

    Like

    By Microsoft Dynamics Navision 2016 – ‘Corfu’ Rewind | Ashwini Tripathi on October 29, 2015 at 10:52 PM



Mobile Site | Full Site


Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.