AbstractInterruptibleChannel.Begin Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
... 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.