10 references to CreateExceptionUsingLastError
System.Net.Http.WinHttpHandler (10)
System\Net\Http\WinHttpCookieContainerAdapter.cs (1)
83
throw WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpAddRequestHeaders));
System\Net\Http\WinHttpException.cs (1)
50
throw
CreateExceptionUsingLastError
(nameOfCalledFunction);
System\Net\Http\WinHttpHandler.cs (2)
768
throw WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpAddRequestHeaders));
1701
throw WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpReceiveResponse));
System\Net\Http\WinHttpRequestStream.cs (2)
237
new IOException(SR.net_http_io_write, WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpWriteData))));
258
new IOException(SR.net_http_io_write, WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpWriteData))));
System\Net\Http\WinHttpResponseStream.cs (4)
126
throw new IOException(SR.net_http_io_read, WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpQueryDataAvailable)));
143
throw new IOException(SR.net_http_io_read, WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpReadData)));
227
throw new IOException(SR.net_http_io_read, WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpQueryDataAvailable)));
242
throw new IOException(SR.net_http_io_read, WinHttpException.
CreateExceptionUsingLastError
(nameof(Interop.WinHttp.WinHttpReadData)));