PipeStream::ReadByte Method ()
.NET Framework (current version)
Reads a byte from a pipe.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| ObjectDisposedException | The pipe is closed. |
| NotSupportedException | The pipe does not support read operations. |
| InvalidOperationException | The pipe is disconnected, waiting to connect, or the handle has not been set. |
| IOException | Any I/O error occurred. |
Use the CanRead property to determine whether the current PipeStream object supports read operations.
.NET Framework
Available since 3.5
Available since 3.5
Show: