AbstractInterruptibleChannel.Begin Method

Definition

Marks the beginning of an I/O operation that might block indefinitely.

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

Remarks

Marks the beginning of an I/O operation that might block indefinitely.

This method should be invoked in tandem with the #end end method, using a try&nbsp;...&nbsp;finally block as shown above, in order to implement asynchronous closing and interruption for this channel.

Java documentation for java.nio.channels.spi.AbstractInterruptibleChannel.begin().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to