BluetoothServerSocket.Close 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
立即關閉這個插槽,並釋放所有相關資源。
[Android.Runtime.Register("close", "()V", "")]
public void Close();
[<Android.Runtime.Register("close", "()V", "")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit
實作
- 屬性
例外狀況
備註
立即關閉這個插槽,並釋放所有相關資源。
會導致該套接字在其他執行緒中被封鎖的呼叫立即拋出 IOException。
關閉 will em not/em> 關閉任何BluetoothSocket收到的#accept()。<><BluetoothServerSocket
Java 文件 android.bluetooth.BluetoothServerSocket.close()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。