When overridden in a derived class, sets the length of the current stream.
Namespace: NetworkCommsDotNet.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- value
- Type: System Int64
The desired length of the current stream in bytes.
Exceptions
Exception | Condition |
---|---|
System.IO IOException | An I/O error occurs. |
System NotSupportedException | The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. |
System ObjectDisposedException | Methods were called after the stream was closed. |
See Also