O'Reilly logo

Extending Microsoft Dynamics NAV 2016 Cookbook by Alexander Drogin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Starting processes in separate threads

In the previous recipe, we developed a NavServiceController .NET component that is capable of retrieving information on the status of available NAV services. Now we will add control functionality to the same component. With the new version of the service controller, it will be possible to start and stop services. Control tasks will be started in background threads to avoid UI freeze on long-running processes. To report task execution status, the service controller will raise custom events handled by a NAV host object.

Getting ready

The current example is based on the NavServiceController assembly developed in the Developing your own .NET class recipe. The prerequisite walkthrough must be completed prior to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required