PipeStream.WriteByte Method (Byte)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Writes a byte to the current stream.

Namespace:   System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

[SecurityCriticalAttribute]
public override void WriteByte(
	byte value
)

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
Return to top
Show: