AbstractInterruptibleChannel.Close Method

Definition

Closes this channel.

C#
[Android.Runtime.Register("close", "()V", "")]
public void Close();

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

Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35

See also