Support for stripping wrapper exceptions in the WinRT provider.