PipeStream.WriteByte Method (Byte)
.NET Framework (current version)
Writes a byte to the current stream.
Assembly: System.Core (in System.Core.dll)
Parameters
- value
-
Type:
System.Byte
The byte to write to the stream.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The pipe is closed. |
| NotSupportedException | The pipe does not support write operations. |
| InvalidOperationException | The pipe is disconnected, waiting to connect, or the handle has not been set. |
| IOException | The pipe is broken or another I/O error occurred. |
Use the CanWrite property to determine whether the current PipeStream object supports write operations.
.NET Framework
Available since 3.5
Available since 3.5
Show: