Udostępnij za pośrednictwem


AbstractInterruptibleChannel.Close Method

Definition

Closes this channel.

[Android.Runtime.Register("close", "()V", "")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Exceptions

if a problem occurs while closing this channel.

Remarks

Closes this channel.

If the channel has already been closed then this method returns immediately. Otherwise it marks the channel as closed and then invokes the #implCloseChannel implCloseChannel method in order to complete the close operation.

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

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

See also