C # in a Nutshell, Second Edition

EndOfStreamException CF 1.0, ECMA 1.0, serializable

System.IO (mscorlib.dll) class

This exception is thrown if you attempt to read data from a stream at its end position.

public class EndOfStreamException : IOException { // Public Constructors public EndOfStreamException ( ); public EndOfStreamException (string message ); public EndOfStreamException (string message , Exception innerException ); // Protected Constructors protected EndOfStreamException (System.Runtime.Serialization.SerializationInfo info , System.Runtime.Serialization.StreamingContext context ); }

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException IOException EndOfStreamException

Категории