PipeStream.InBufferSize Property

 
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.

Gets the size, in bytes, of the inbound buffer for a pipe.

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

public virtual int InBufferSize {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Int32

An integer value that represents the inbound buffer size, in bytes.

Exception Condition
NotSupportedException

The stream is unreadable.

InvalidOperationException

The pipe is waiting to connect.

IOException

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

If InBufferSize is 0, the buffer size is allocated as needed.

.NET Framework
Available since 3.5
Return to top
Show: