Open
Description
I'm trying to resolve a Win32Exception by following your suggested code that starts with "catch (Win32Exception w)", however Visual Studio not happy with that. Have tried usings and other things but not yet found the missing piece to make this run. What else do I need to put in for it to know what "Win32Exception" is?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d3f1aa31-0cb8-4858-9408-b84bd91c520a
- Version Independent ID: 553e988e-8917-e6ab-acfa-37ae3268d8cc
- Content: Win32Exception Class (System.ComponentModel)
- Content Source: xml/System.ComponentModel/Win32Exception.xml
- Product: dotnet-api
- GitHub Login: @dotnet-bot
- Microsoft Alias: dotnetcontent