IOMessages
IOMessages.Instance (SystemMessages.IO) contains message descriptions scraped from mscorlib.dll for System.IO.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA3450042 | 0x80030003 | DirectoryNotFoundException | mscorlib.Arg_DirectoryNotFoundException | Attempted to access a path that is not on the disk. | System.IO.DirectoryNotFoundException |
0xA3450049 | 0x80070003 | DriveNotFoundException | mscorlib.Arg_DriveNotFoundException | Attempted to access a drive that is not available. | System.IO.DriveNotFoundException |
0xA3450051 | 0x80070026 | EndOfStreamException | mscorlib.Arg_EndOfStreamException | Attempted to read past the end of the stream. | System.IO.EndOfStreamException |
0xA3450085 | 0x80131620 | IOException | mscorlib.Arg_IOException | I/O error occurred. | System.IO.IOException |
0xA3450354 | 0x80070002 | FileNotFoundResolveAssembly | mscorlib.FileNotFound_ResolveAssembly | Could not resolve assembly '{0}'. | System.IO.FileNotFoundException |
0xA3450371 | 0x80131508 | IndexOutOfRangeIORaceCondition | mscorlib.IndexOutOfRange_IORaceCondition | Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader. | System.IndexOutOfRangeException |
0xA345040A | 0x80131522 | UnknownFileName | mscorlib.IO_UnknownFileName | [Unknown] | System.TypeLoadException |
0xA345040B | 0x80070003 | DriveNotFoundDrive | mscorlib.IO.DriveNotFound_Drive | Could not find the drive '{0}'. The drive might not be ready or might not be mapped. | System.IO.DriveNotFoundException |
0xA345040C | 0x80070026 | EOFReadBeyondEOF | mscorlib.IO.EOF_ReadBeyondEOF | Unable to read beyond the end of the stream. | System.IO.EndOfStreamException |
0xA345040D | 0x80131621 | FileLoad | mscorlib.IO.FileLoad | Could not load the specified file. | System.IO.FileLoadException |
0xA345040E | 0x80070002 | FileNotFound | mscorlib.IO.FileNotFound | Unable to find the specified file. | System.IO.FileNotFoundException |
0xA345040F | 0x80070002 | FileNotFoundFileName | mscorlib.IO.FileNotFound_FileName | Could not find file '{0}'. | System.IO.FileNotFoundException |
0xA3450410 | 0x80131620 | AlreadyExistsName | mscorlib.IO.IO_AlreadyExists_Name | Cannot create "{0}" because a file or directory with the same name already exists. | System.IO.IOException |
0xA3450411 | 0x80131620 | BindHandleFailed | mscorlib.IO.IO_BindHandleFailed | BindHandle for ThreadPool failed on this handle. | System.IO.IOException |
0xA3450412 | 0x80131620 | CannotCreateDirectory | mscorlib.IO.IO_CannotCreateDirectory | The specified directory '{0}' cannot be created. | System.IO.IOException |
0xA3450413 | 0x80131620 | FileExistsName | mscorlib.IO.IO_FileExists_Name | The file '{0}' already exists. | System.IO.IOException |
0xA3450414 | 0x80131620 | FileStreamHandlePosition | mscorlib.IO.IO_FileStreamHandlePosition | The OS handle's position is not what FileStream expected. Do not use a handle simultaneously in one FileStream and in Win32 code or another FileStream. This may cause data loss. | System.IO.IOException |
0xA3450415 | 0x80131620 | FileTooLong2GB | mscorlib.IO.IO_FileTooLong2GB | The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size. | System.IO.IOException |
0xA3450416 | 0x80131620 | FileTooLongOrHandleNotSync | mscorlib.IO.IO_FileTooLongOrHandleNotSync | IO operation will not work. Most likely the file will become too long or the handle was not opened to support synchronous IO operations. | System.IO.IOException |
0xA3450417 | 0x80131620 | FixedCapacity | mscorlib.IO.IO_FixedCapacity | Unable to expand length of this stream beyond its capacity. | System.IO.IOException |
0xA3450418 | 0x80131620 | InvalidStringLenLen | mscorlib.IO.IO_InvalidStringLen_Len | BinaryReader encountered an invalid string length of {0} characters. | System.IO.IOException |
0xA3450419 | 0x80131620 | NoConsole | mscorlib.IO.IO_NoConsole | There is no console. | System.IO.IOException |
0xA345041A | 0x80131620 | SeekAppendOverwrite | mscorlib.IO.IO_SeekAppendOverwrite | Unable seek backward to overwrite data that previously existed in a file opened in Append mode. | System.IO.IOException |
0xA345041B | 0x80131620 | SeekBeforeBegin | mscorlib.IO.IO_SeekBeforeBegin | An attempt was made to move the position before the beginning of the stream. | System.IO.IOException |
0xA345041C | 0x80131620 | SetLengthAppendTruncate | mscorlib.IO.IO_SetLengthAppendTruncate | Unable to truncate data that previously existed in a file opened in Append mode. | System.IO.IOException |
0xA345041D | 0x80131620 | SharingViolationFile | mscorlib.IO.IO_SharingViolation_File | The process cannot access the file '{0}' because it is being used by another process. | System.IO.IOException |
0xA345041E | 0x80131620 | SharingViolationNoFileName | mscorlib.IO.IO_SharingViolation_NoFileName | The process cannot access the file because it is being used by another process. | System.IO.IOException |
0xA345041F | 0x80131620 | SourceDestMustBeDifferent | mscorlib.IO.IO_SourceDestMustBeDifferent | Source and destination path must be different. | System.IO.IOException |
0xA3450420 | 0x80131620 | SourceDestMustHaveSameRoot | mscorlib.IO.IO_SourceDestMustHaveSameRoot | Source and destination path must have identical roots. Move will not work across volumes. | System.IO.IOException |
0xA3450421 | 0x80131620 | StreamTooLong | mscorlib.IO.IO_StreamTooLong | Stream was too long. | System.IO.IOException |
0xA3450422 | 0x80030003 | PathNotFoundNoPathName | mscorlib.IO.PathNotFound_NoPathName | Could not find a part of the path. | System.IO.DirectoryNotFoundException |
0xA3450423 | 0x80030003 | PathNotFoundPath | mscorlib.IO.PathNotFound_Path | Could not find a part of the path '{0}'. | System.IO.DirectoryNotFoundException |
0xA3450424 | 0x800700CE | PathTooLong | mscorlib.IO.PathTooLong | The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. | System.IO.PathTooLongException |
0xA345061B | 0x80131620 | AllocatedFrom | mscorlib.AllocatedFrom | Allocated from: | System.IO.IOException |
0xA345074E | OperationNotPermitted | mscorlib.FileSecurityState_OperationNotPermitted | File operation not permitted. Access to path '{0}' is denied. | ||
0xA3450628 | 0x80070002 | FileName | mscorlib.IO.FileName_Name | File name: '{0}' | System.IO.FileNotFoundException |
0xA345074D | NoPermissionToDirectoryName | mscorlib.IO.IO_NoPermissionToDirectoryName | <Path discovery permission to the specified directory was denied.> | ||
0xA345074F | StreamWriterBufferedDataLost | mscorlib.IO_StreamWriterBufferedDataLost | A StreamWriter was not closed and all buffered data within that StreamWriter was not flushed to the underlying stream. (This was detected when the StreamWriter was finalized with data in its buffer.) A portion of the data was lost. Consider one of calling Close(), Flush(), setting the StreamWriter's AutoFlush property to true, or allocating the StreamWriter with a "using" statement. Stream type: {0} File name: {1} Allocated from: {2} | ||
0xA3450750 | StreamWriterBufferedDataLostCaptureAllocatedFromCallstackNotEnabled | mscorlib.IO_StreamWriterBufferedDataLostCaptureAllocatedFromCallstackNotEnabled | callstack information is not captured by default for performance reasons. Please enable captureAllocatedCallStack config switch for streamWriterBufferedDataLost MDA (refer to MSDN MDA documentation for how to do this). |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/