Pipe.Open 方法

定义

打开管道。

[Android.Runtime.Register("open", "()Ljava/nio/channels/Pipe;", "")]
public static Java.Nio.Channels.Pipe? Open();
[<Android.Runtime.Register("open", "()Ljava/nio/channels/Pipe;", "")>]
static member Open : unit -> Java.Nio.Channels.Pipe

返回

新管道

属性

例外

如果发生 I/O 错误,则为 。

注解

打开管道。

通过调用 java.nio.channels.spi.SelectorProvider#openPipe openPipe 系统范围的默认 java.nio.channels.spi.SelectorProvider 对象的方法创建新管道。

Java文档java.nio.channels.Pipe.open()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅