13 references to Win32Exception
System.Diagnostics.Process (4)
System\Diagnostics\Process.Linux.cs (1)
372
throw new
Win32Exception
(SR.ProcessInformationUnavailable);
System\Diagnostics\Process.Unix.cs (3)
453
throw new
Win32Exception
(SR.DirectoryNotValidAsInput);
976
throw new
Win32Exception
(SR.Format(SR.UserDoesNotExist, startInfo.UserName));
982
throw new
Win32Exception
(SR.Format(SR.UserGroupsCannotBeDetermined, startInfo.UserName));
System.Net.NetworkInformation (1)
src\libraries\Common\src\System\Net\NetworkInformation\NetworkInformationException.cs (1)
50
internal NetworkInformationException(string message) :
base
(message)
System.Net.WebSockets (3)
System\Net\WebSockets\WebSocketException.cs (3)
27
public WebSocketException(WebSocketError error, string? message) :
base
(message ?? SR.net_WebSockets_Generic)
70
:
base
(message ?? SR.net_WebSockets_Generic)
89
:
base
(message ?? SR.net_WebSockets_Generic)
System.Private.Windows.Core (2)
System\Private\Windows\Ole\DataFormatsCore.cs (1)
40
throw new
Win32Exception
(SR.RegisterCFFailed);
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (1)
65
throw new
Win32Exception
("Could not create a GDI brush.");
System.Windows.Forms (2)
System\Windows\Forms\Input\Cursor.cs (2)
41
throw new
Win32Exception
(string.Format(SR.FailedToLoadCursor, Marshal.GetLastWin32Error()));
430
throw new
Win32Exception
(string.Format(SR.FailedToLoadCursor, Marshal.GetLastWin32Error()));
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfScope.cs (1)
50
throw new
Win32Exception
("Could not create metafile");