Logging and Handling Microsoft Dynamics CRM 2013 Exceptions – Part 3

July 15, 2014

In the previous post I described a solution to the business problem of logging & handling implementation level exceptions (presented in the first post of this series). In this post, I will supply an actual solution, demonstrate common usage scenarios and other solution features. Before I walkthrough usage scenarios, some implementation notes: In order to support exceptions raised from transactional components (such as Plugin registered to pre/post operation stages), the LogException method in ExceptionManagement.cs file is using the ExecuteMultipleRequest class to execute the e4d_LogExceptionRequest request. As the ExecuteMultipleRequest instance is external to the Plugin transaction, it manages to create the Exception record...