Source: NamedPipeServerStream.Unix.cs 等待客户端连接到该 NamedPipeServerStream 对象。 C# 复制 public void WaitForConnection (); 例外 InvalidOperationException 已建立管道连接。 -或 - 尚未设置管道句柄。 ObjectDisposedException 管道已关闭。 IOException 管道连接已中断。...