8 references to Win32Exception
PresentationFramework (1)
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
521return new Win32Exception(code, message);
System (4)
compmod\system\componentmodel\Win32Exception.cs (2)
47public Win32Exception(int error) : this(error, GetErrorMessage(error)) { 64public Win32Exception( string message ) : this(Marshal.GetLastWin32Error(), message) {
net\System\Net\HttpListenerException.cs (1)
27public HttpListenerException(int errorCode, string message) : base(errorCode, message)
net\System\Net\WebSockets\WebSocketException.cs (1)
70: base(nativeError, message)
System.Net (1)
net\PeerToPeer\PeerToPeerException.cs (1)
113p2pEx = new PeerToPeerException(message, new Win32Exception(hr, NativeMessage));
System.ServiceModel (1)
System\ServiceModel\Administration\WbemException.cs (1)
24: base(hr, message)
WindowsBase (1)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
451e = new Win32Exception(Code, message);