Type Reason Java.IO.IOException if an I/O error occurs while closing the channel.
Closes the channel.
Any threads that are blocked on I/O operations on this channel will be interrupted with an Java.Nio.Channels.AsynchronousCloseException. Otherwise, this method behaves the same as defined in the Channel interface.