Often you need to improve the kind of an exception, after which keeping the initial exception as inner exception is the greatest you are able to do. However it ought to be toss new MyCustomException(myMessage, ex); needless to say. Please connection to this site! Good click on the above picture, https://windows-8-pro-5pc-retail17583.post-blogs.com/52557517/details-fiction-and-windows-10-iot-enterprise-ltsc-2021-20pc