PipeStream.WriteByte(Byte) Method

Definition

Writes a byte to the current stream.

public:
 override void WriteByte(System::Byte value);
public override void WriteByte (byte value);
[System.Security.SecurityCritical]
public override void WriteByte (byte value);
override this.WriteByte : byte -> unit
[<System.Security.SecurityCritical>]
override this.WriteByte : byte -> unit
Public Overrides Sub WriteByte (value As Byte)

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