8 types derived from IOException
mscorlib (6)
system\io\directorynotfoundexception.cs (1)
29
public class DirectoryNotFoundException :
IOException
{
system\io\drivenotfoundexception.cs (1)
24
public class DriveNotFoundException :
IOException
{
system\io\endofstreamexception.cs (1)
24
public class EndOfStreamException :
IOException
system\io\fileloadexception.cs (1)
33
public class FileLoadException :
IOException
{
system\io\filenotfoundexception.cs (1)
29
public class FileNotFoundException :
IOException
{
system\io\pathtoolongexception.cs (1)
26
public class PathTooLongException :
IOException
System (1)
sys\System\IO\compression\ZLibException.cs (1)
25
internal class ZLibException :
IOException
, ISerializable {
System.ServiceModel (1)
System\ServiceModel\Channels\PipeException.cs (1)
10
public class PipeException :
IOException
67 instantiations of IOException
mscorlib (56)
microsoft\win32\registrykey.cs (8)
937
throw new
IOException
(Win32Native.GetMessage(ret), ret);
1273
throw new
IOException
(Environment.GetResourceString("Arg_RegGetOverflowBug"), e);
1298
throw new
IOException
(Environment.GetResourceString("Arg_RegGetOverflowBug"), e);
1326
throw new
IOException
(Environment.GetResourceString("Arg_RegGetOverflowBug"), e);
1344
throw new
IOException
(Environment.GetResourceString("Arg_RegGetOverflowBug"), e);
1694
throw new
IOException
(Environment.GetResourceString("Arg_RegKeyNotFound"), errorCode);
1697
throw new
IOException
(Win32Native.GetMessage(errorCode), errorCode);
1711
throw new
IOException
(Win32Native.GetMessage(errorCode), errorCode);
system\console.cs (4)
686
throw new
IOException
(Environment.GetResourceString("IO.IO_NoConsole"));
973
throw new
IOException
(Environment.GetResourceString("IO.IO_NoConsole"));
1632
throw new
IOException
(Environment.GetResourceString("IO.IO_NoConsole"));
1647
throw new
IOException
(Environment.GetResourceString("IO.IO_NoConsole"));
system\io\__error.cs (6)
162
throw new
IOException
(Environment.GetResourceString("IO.IO_AlreadyExists_Name", str), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
171
throw new
IOException
(Win32Native.GetMessage(errorCode), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
175
throw new
IOException
(Environment.GetResourceString("IO.IO_SharingViolation_NoFileName"), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
177
throw new
IOException
(Environment.GetResourceString("IO.IO_SharingViolation_File", str), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
182
throw new
IOException
(Environment.GetResourceString("IO.IO_FileExists_Name", str), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
188
throw new
IOException
(Win32Native.GetMessage(errorCode), Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
system\io\binaryreader.cs (2)
240
throw new
IOException
(Environment.GetResourceString("Arg_DecBitCtor"), e);
259
throw new
IOException
(Environment.GetResourceString("IO.IO_InvalidStringLen_Len", stringLength));
system\io\directory.cs (5)
230
throw new
IOException
(Environment.GetResourceString("IO.IO_CannotCreateDirectory", path));
1256
throw new
IOException
(Environment.GetResourceString("IO.IO_SourceDestMustBeDifferent"));
1261
throw new
IOException
(Environment.GetResourceString("IO.IO_SourceDestMustHaveSameRoot"));
1273
throw new
IOException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", sourceDirName), Win32Native.MakeHRFromErrorCode(hr));
1483
throw new
IOException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", userPath));
system\io\directoryinfo.cs (3)
669
throw new
IOException
(Environment.GetResourceString("IO.IO_SourceDestMustBeDifferent"));
675
throw new
IOException
(Environment.GetResourceString("IO.IO_SourceDestMustHaveSameRoot"));
687
throw new
IOException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", DisplayPath));
system\io\file.cs (2)
185
throw new
IOException
(Environment.GetResourceString("Arg_FileIsDirectory_Name", destFileName), Win32Native.ERROR_ACCESS_DENIED, fullDestFileName);
923
throw new
IOException
(Environment.GetResourceString("IO.IO_FileTooLong2GB"));
system\io\filestream.cs (6)
924
throw new
IOException
(Environment.GetResourceString("IO.IO_BindHandleFailed"));
1058
throw new
IOException
(Environment.GetResourceString("IO.IO_BindHandleFailed"));
1464
throw new
IOException
(Environment.GetResourceString("IO.IO_SetLengthAppendTruncate"));
1644
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekAppendOverwrite"));
1745
throw new
IOException
(Environment.GetResourceString("IO.IO_FileStreamHandlePosition"));
1858
throw new
IOException
(Environment.GetResourceString("IO.IO_FileTooLongOrHandleNotSync"));
system\io\longpath.cs (6)
233
throw new
IOException
(Environment.GetResourceString("Arg_FileIsDirectory_Name", destFileName), Win32Native.ERROR_ACCESS_DENIED, fullDestFileName);
483
throw new
IOException
(Environment.GetResourceString("IO.IO_CannotCreateDirectory", path));
644
throw new
IOException
(Environment.GetResourceString("IO.IO_SourceDestMustBeDifferent"));
649
throw new
IOException
(Environment.GetResourceString("IO.IO_SourceDestMustHaveSameRoot"));
665
throw new
IOException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", sourceDirName), Win32Native.MakeHRFromErrorCode(hr));
886
throw new
IOException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", userPath));
system\io\memorystream.cs (5)
170
throw new
IOException
(Environment.GetResourceString("IO.IO_StreamTooLong"));
491
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
498
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
505
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
574
throw new
IOException
(Environment.GetResourceString("IO.IO_StreamTooLong"));
system\io\unmanagedmemorystream.cs (7)
375
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
517
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
524
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
531
throw new
IOException
(Environment.GetResourceString("IO.IO_SeekBeforeBegin"));
555
throw new
IOException
(Environment.GetResourceString("IO.IO_FixedCapacity"));
590
throw new
IOException
(Environment.GetResourceString("IO.IO_StreamTooLong"));
684
throw new
IOException
(Environment.GetResourceString("IO.IO_StreamTooLong"));
system\io\unmanagedmemorystreamwrapper.cs (1)
80
throw new
IOException
(Environment.GetResourceString("IO.IO_FixedCapacity"));
system\security\accesscontrol\registrysecurity.cs (1)
165
exception = new
IOException
(Environment.GetResourceString("Arg_RegKeyNotFound", errorCode));
PresentationFramework (2)
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (2)
129
throw new
IOException
("Read", comException);
134
throw new
IOException
("Read", ioException);
System (2)
net\System\Net\_ConnectStream.cs (1)
3038
Interlocked.CompareExchange<Exception>(ref m_ErrorException, new
IOException
(Msg), null);
sys\system\io\ports\InternalResources.cs (1)
130
throw new
IOException
(GetMessage(errorCode), MakeHRFromErrorCode(errorCode));
System.Core (3)
System\IO\__Error.cs (3)
192
throw new
IOException
(UnsafeNativeMethods.GetMessage(errorCode), UnsafeNativeMethods.MakeHRFromErrorCode(errorCode));
206
throw new
IOException
(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_IO_FileExists_Name), str), UnsafeNativeMethods.MakeHRFromErrorCode(errorCode));
212
throw new
IOException
(UnsafeNativeMethods.GetMessage(errorCode), UnsafeNativeMethods.MakeHRFromErrorCode(errorCode));
System.Data (2)
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
261
IOException e = new
IOException
(error);
266
IOException e = new
IOException
(error, inner);
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
489
throw new
IOException
(SR.ExceptionHttpHandlerCanNotSave);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (1)
463
throw new
IOException
();
179 references to IOException
ComSvcConfig (1)
WasAdminWrapper.cs (1)
65
catch (
IOException
)
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (1)
91
catch (
IOException
)
mscorlib (10)
microsoft\win32\registrykey.cs (1)
235
catch (
IOException
){
system\globalization\japanesecalendar.cs (1)
205
catch (System.IO.
IOException
)
system\io\directory.cs (1)
418
catch (
IOException
) { }
system\io\file.cs (1)
450
catch (
IOException
) { }
system\io\longpath.cs (2)
308
catch(
IOException
) {}
921
catch (
IOException
) { }
system\io\path.cs (1)
212
catch (
IOException
) { }
system\io\stream.cs (2)
808
catch (
IOException
ex) {
841
catch (
IOException
ex) {
system\resources\resourcewriter.cs (1)
370
catch (
IOException
) {
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
174
catch (
IOException
e)
PresentationCore (2)
Core\CSharp\System\Windows\Input\Cursor.cs (1)
308
catch(System.IO.
IOException
)
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
569
catch (
IOException
)
PresentationFramework (8)
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (2)
195
catch (
IOException
exc)
405
catch (
IOException
)
src\Framework\MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
131
catch (
IOException
ioException)
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (2)
438
catch (
IOException
ex)
579
catch (
IOException
ex)
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
2901
catch (
IOException
e)
3113
catch (
IOException
e)
src\Framework\System\Windows\ResourceDictionary.cs (1)
186
catch (System.IO.
IOException
)
System (40)
compmod\system\codedom\compiler\TempFiles.cs (1)
224
catch (
IOException
e) {
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
223
catch (
IOException
) {
net\System\Net\_CommandStream.cs (5)
240
} catch (
IOException
) {
438
catch (
IOException
) {
462
catch (
IOException
) {
538
catch (
IOException
) {
642
catch (
IOException
) {
net\System\Net\_ConnectStream.cs (5)
1017
if (m_Request.Aborted && (exception is
IOException
|| exception is ObjectDisposedException)) {
1120
if (m_Request.Aborted && (exception is
IOException
|| exception is ObjectDisposedException)) {
1328
if (exception is
IOException
&& m_Request.Aborted) {
2280
if (e is
IOException
|| e is ObjectDisposedException)
2926
catch (
IOException
) {
net\System\Net\_DigestClient.cs (1)
760
catch (
IOException
e) {
net\System\Net\_StreamFramer.cs (1)
227
if (!(e is
IOException
)) {
net\System\Net\FtpWebRequest.cs (2)
1128
IOException
ioEx = webException.InnerException as
IOException
;
net\System\Net\HttpSysSettings.cs (1)
91
catch (
IOException
e)
net\System\Net\HybridWebProxyFinder.cs (1)
132
catch (
IOException
)
net\System\Net\NetRegistryConfiguration.cs (1)
136
catch (
IOException
) { }
net\System\Net\SecureProtocols\_NegoStream.cs (2)
140
if (e is
IOException
) {
236
if (e is
IOException
) {
net\System\Net\SecureProtocols\_SslStream.cs (5)
159
if (bufferResult.Result is
IOException
)
211
if (lazyResult.Result is
IOException
)
348
if (e is
IOException
) {
398
if (e is
IOException
) {
677
if (e is
IOException
) {
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
621
if (bufferResult.Result is
IOException
)
690
if (bufferResult.Result is
IOException
)
net\System\Net\WebSockets\WebSocketBase.cs (4)
1291
error is
IOException
;
1340
IOException
ioException = exception as
IOException
;
1424
catch (
IOException
)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
366
error is
IOException
;
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
710
error is
IOException
;
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (1)
160
catch (
IOException
) {
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
667
catch (
IOException
) {
678
catch (
IOException
) {
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
999
catch (
IOException
) {
1202
catch (
IOException
e) {
1237
catch (
IOException
e) {
System.Activities (2)
System\Activities\Debugger\DebugManager.cs (1)
291
catch (
IOException
)
System\Activities\Debugger\Symbol\SymbolHelper.cs (1)
105
catch (
IOException
)
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (1)
78
typeof(
IOException
),
System.AddIn (3)
System\Addin\Hosting\AddInStore.cs (3)
338
catch (
IOException
) { }
1049
catch (
IOException
e) {
1112
catch (
IOException
e) {
System.Configuration (1)
System\Configuration\Internal\WriteFileContext.cs (1)
176
catch (
IOException
) {
System.Core (2)
System\Diagnostics\EventSchemaTraceListener.cs (1)
658
catch (
IOException
) {
System\IO\LogStream.cs (1)
401
catch (
IOException
) {
System.Data (5)
fx\src\data\System\Data\Common\AdapterUtil.cs (5)
260
static internal
IOException
IO(string error) {
261
IOException
e = new IOException(error);
265
static internal
IOException
IO(string error, Exception inner) {
266
IOException
e = new IOException(error, inner);
1519
static internal
IOException
ErrorReadingFromStream(Exception internalException) {
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
115
catch (System.IO.
IOException
ex)
236
catch (System.IO.
IOException
ex)
System.Data.Entity.Design (3)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
381
catch (System.IO.
IOException
ex)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
156
catch (System.IO.
IOException
ex)
System\Data\EntityModel\EntityClassGenerator.cs (1)
256
catch (System.IO.
IOException
ex)
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
315
catch (System.IO.
IOException
ex)
System.Drawing (3)
commonui\System\Drawing\Design\ToolboxItem.cs (2)
619
catch (
IOException
) {
630
catch (
IOException
) {
commonui\System\Drawing\Image.cs (1)
448
catch (
IOException
) {
System.Runtime.Remoting (1)
channels\tcp\tcpclientchannel.cs (1)
291
catch(
IOException
e){
System.ServiceModel (36)
System\ServiceModel\Channels\Connection.cs (8)
626
Exception ConvertIOException(
IOException
ioException)
653
catch (
IOException
ioException)
715
catch (
IOException
ioException)
742
catch (
IOException
ioException)
773
catch (
IOException
ioException)
812
catch (
IOException
ioException)
835
catch (
IOException
ioException)
854
catch (
IOException
ioException)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1630
catch (
IOException
ioException)
System\ServiceModel\Channels\HttpChannelHelpers.cs (14)
980
catch (
IOException
ioException)
1000
catch (
IOException
ioException)
1024
catch (
IOException
ioException)
1045
catch (
IOException
ioException)
1055
private Exception CreateResponseIOException(
IOException
ioException)
2820
catch (
IOException
ioException)
2853
catch (
IOException
ioException)
2873
catch (
IOException
ioException)
2893
catch (
IOException
ioException)
3625
public static Exception CreateResponseIOException(
IOException
ioException, TimeSpan receiveTimeout)
3664
public static Exception CreateRequestIOException(
IOException
ioException, HttpWebRequest request)
3669
public static Exception CreateRequestIOException(
IOException
ioException, HttpWebRequest request, Exception originalException)
3701
if (webException.InnerException is
IOException
)
3703
return CreateRequestIOException((
IOException
)webException.InnerException, request, webException);
System\ServiceModel\Channels\HttpChannelListener.cs (1)
1197
else if (e is
IOException
)
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
231
e is
IOException
)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
610
catch (
IOException
ioException)
936
catch (
IOException
ioException)
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (2)
36
catch (
IOException
ioException)
62
catch (
IOException
ioException)
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (2)
39
catch (
IOException
ioException)
65
catch (
IOException
ioException)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
220
catch (
IOException
ioException)
438
catch (
IOException
ioException)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (2)
293
catch (System.IO.
IOException
exception)
313
catch (System.IO.
IOException
exception)
System\ServiceModel\Transactions\WsatConfiguration.cs (1)
418
catch (
IOException
e)
System.Web (4)
Compilation\BuildResultCache.cs (1)
417
catch (
IOException
e) {
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
869
catch (
IOException
) {
Hosting\ProcessHost.cs (1)
1074
if (GetInnerMostException(appInitEx) is
IOException
) {
StaticFileHandler.cs (1)
96
catch (
IOException
ioEx) {
System.Web.DataVisualization (4)
WebForm\ChartWebControl.cs (1)
3222
catch (
IOException
) { }
WebForm\General\ChartHttpHandler.cs (3)
231
catch (
IOException
)
290
catch (
IOException
ioe)
486
catch (
IOException
) { }
System.Windows.Forms (6)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1148
catch (
IOException
)
winforms\Managed\System\WinForms\ListView.cs (4)
2352
} catch (System.IO.
IOException
){}
2896
} catch (System.IO.
IOException
){}
3001
} catch (System.IO.
IOException
){}
3014
} catch (System.IO.
IOException
){}
winforms\Managed\System\WinForms\RichTextBox.cs (1)
1923
catch (
IOException
) {
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
506
catch (
IOException
)
WindowsBase (41)
Base\System\IO\Packaging\EncryptedPackage.cs (2)
522
catch (
IOException
ex)
580
catch (
IOException
ex)
Base\System\IO\Packaging\Package.cs (22)
222
/// <exception cref="
IOException
">If package to be created should have readwrite/read access and underlying stream is write only</exception>
223
/// <exception cref="
IOException
">If package to be created should have readwrite/write access and underlying stream is read only</exception>
239
/// <exception cref="
IOException
">If package to be created should have readwrite/read access and underlying stream is write only</exception>
240
/// <exception cref="
IOException
">If package to be created should have readwrite/write access and underlying stream is read only</exception>
259
/// <exception cref="
IOException
">If package to be created should have readwrite/read access and underlying stream is write only</exception>
260
/// <exception cref="
IOException
">If package to be created should have readwrite/write access and underlying stream is read only</exception>
278
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
300
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
351
/// <exception cref="
IOException
">If the package is write only, information cannot be retrieved from it</exception>
375
/// <exception cref="
IOException
">If the package is write only, information cannot be retrieved from it</exception>
393
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
472
/// <exception cref="
IOException
">If the package is writeonly, no information can be retrieved from it</exception>
594
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
638
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
660
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
684
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
708
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
724
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
748
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
770
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
1047
/// <exception cref="
IOException
">If package to be created should have readwrite/read access and underlying stream is write only</exception>
1048
/// <exception cref="
IOException
">If package to be created should have readwrite/write access and underlying stream is read only</exception>
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
539
catch (System.IO.
IOException
)
Base\System\IO\Packaging\PackagePart.cs (14)
306
/// <exception cref="
IOException
">If the subclass fails to provide a non-null stream object</exception>
325
/// <exception cref="
IOException
">If FileAccess.Read is provided and FileMode values are any of the following -
327
/// <exception cref="
IOException
">If the mode and access for the Package and the Stream are not compatible</exception>
328
/// <exception cref="
IOException
">If the subclass fails to provide a non-null stream object</exception>
349
/// <exception cref="
IOException
">If FileAccess.Read is provided and FileMode values are any of the following -
351
/// <exception cref="
IOException
">If the mode and access for the Package and the Stream are not compatible</exception>
352
/// <exception cref="
IOException
">If the subclass fails to provide a non-null stream object</exception>
408
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
432
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
457
/// <exception cref="
IOException
">If the package is readonly, it cannot be modified</exception>
482
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
500
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
525
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
548
/// <exception cref="
IOException
">If the package is write only, no information can be retrieved from it</exception>
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (2)
338
/// <exception cref="
IOException
">retryCount was exceeded</exception>
369
catch (
IOException
)