語言

AbstractInterruptibleChannel.Close 方法

定義

關閉這個頻道。

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

實作

屬性

例外狀況

如果關閉此通道時發生問題。

備註

關閉這個頻道。

如果通道已經被關閉,則此方法會立即返回。 否則會將通道標記為封閉,然後呼叫該 #implCloseChannel implCloseChannel 方法以完成關閉操作。

Java 文件 java.nio.channels.spi.AbstractInterruptibleChannel.close()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱