Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PipeStream::WriteByte Method (Byte)

 

Writes a byte to the current stream.

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

public:
[SecurityCriticalAttribute]
virtual void WriteByte(
	unsigned char value
) override

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:
© 2017 Microsoft