System.IO.EndOfStreamException

E697505

System.IO.EndOfStreamException is a .NET exception type thrown when an attempt is made to read beyond the end of a data stream.

All labels observed (2)

How this entity was disambiguated

Statements (43)

Predicate Object
instanceOf .NET exception type
class
assembly System.Runtime
linked to: System.Runtime.dll

mscorlib
linked to: mscorlib.dll
baseType System.SystemException
linked to: SystemException
category I/O exception
CLSCompliant true
definedIn .NET Base Class Library
fullName System.IO.EndOfStreamException
hasConstructor System.IO.EndOfStreamException()
System.IO.EndOfStreamException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
System.IO.EndOfStreamException(string message)
System.IO.EndOfStreamException(string message, System.Exception innerException)
inheritsFrom System.Exception
System.SystemException
inheritsInnerExceptionPropertyFrom System.Exception
inheritsMessagePropertyFrom System.Exception
inheritsStackTracePropertyFrom System.Exception
introducedIn .NET Framework 1.0
linked to: .NET Framework
isAbstract false
isCheckedException false
isPublic true
isReferenceType true
isSerializable true
language C#
F#
VB.NET
linked to: Visual Basic .NET
namespace System.IO
platform .NET 5+
linked to: .NET (5 and later)

.NET Core
.NET Framework
.NET Standard
Mono
Xamarin
sealed true
summary Exception thrown when an attempt is made to read beyond the end of a stream.
typicalAPI System.IO.BinaryReader
System.IO.Stream
typicalCause Reading past the end of a data stream.
Using BinaryReader methods when no more data is available.
usageContext File I/O operations
Memory stream reading
Network stream reading

How these facts were elicited

Referenced by (4)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.IO containsType System.IO.EndOfStreamException
System.IO.EndOfStreamException hasConstructor System.IO.EndOfStreamException()
linked to: System.IO.EndOfStreamException
System.IO.EndOfStreamException fullName System.IO.EndOfStreamException
System.IO.IOException baseClassOf System.IO.EndOfStreamException