System.IO.EndOfStreamException Class

The exception that is thrown when reading is attempted past the end of a stream.

See Also: EndOfStreamException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class EndOfStreamException : IOException

Remarks

EndOfStreamException uses the HRESULT COR_E_ENDOFSTREAM which has the value 0x80070026.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0