语言

AbstractInterruptibleChannel.Begin 方法

定义

标记可能无限期阻止的 I/O 操作的开头。

[Android.Runtime.Register("begin", "()V", "")]
protected void Begin();
[<Android.Runtime.Register("begin", "()V", "")>]
member this.Begin : unit -> unit
特性

注解

标记可能无限期阻止的 I/O 操作的开头。

应 #end end 使用 try ... finally 如上所示的块,以便为此通道实现异步关闭和中断。

Java文档java.nio.channels.spi.AbstractInterruptibleChannel.begin()。

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

适用于