Edit

Share via


PipeStream.WriteByte(Byte) Method

Definition

Writes a byte to the current stream.

C#
public override void WriteByte(byte value);
C#
[System.Security.SecurityCritical]
public override void WriteByte(byte value);

Parameters

value
Byte

The byte to write to the stream.

Attributes

Exceptions

The pipe is closed.

The pipe does not support write operations.

The pipe is disconnected, waiting to connect, or the handle has not been set.

The pipe is broken or another I/O error occurred.

Remarks

Use the CanWrite property to determine whether the current PipeStream object supports write operations.

Applies to