An I/O error occurs. The stream does not support seeking, such as if the stream is constructed from a pipe or console output. Methods were called after the stream was closed.
publicSeek ( longoffset, SeekOriginorigin ) : long
offset
long
A byte offset relative to the parameter.
origin
SeekOrigin
A value of type indicating the reference point used to obtain the new position.