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