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