PipeStream.InBufferSize 属性

定义

获取管道的入站缓冲区的大小(以字节为单位)。Gets the size, in bytes, of the inbound buffer for a pipe.

public:
 virtual property int InBufferSize { int get(); };
[get: System.Security.SecurityCritical]
public virtual int InBufferSize { get; }
member this.InBufferSize : int
Public Overridable ReadOnly Property InBufferSize As Integer

属性值

一个整数值,表示入站缓冲区的大小(以字节为单位)。An integer value that represents the inbound buffer size, in bytes.

属性

异常

流不可读。The stream is unreadable.

管道正在等待连接。The pipe is waiting to connect.

管道已损坏或出现其他 I/O 错误。The pipe is broken or another I/O error occurred.

注解

如果 InBufferSize 是0,则根据需要分配缓冲区大小。If InBufferSize is 0, the buffer size is allocated as needed.

适用于