語言

BluetoothSocketException.ErrorCode 屬性

定義

回傳與此故障相關的錯誤代碼。

public virtual Android.Bluetooth.BluetoothSocketExceptionReason ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)>]
member this.ErrorCode : Android.Bluetooth.BluetoothSocketExceptionReason

屬性值

價值為以下之一:Unspecified; ; SocketClosedL2CapSourceCidAlreadyAllocatedL2CapUnacceptableParametersL2CapInvalidSourceCidL2CapInsufficientEncryptionL2CapInvalidParametersBluetoothOffFailureL2CapTimeoutSocketManagerFailureL2CapNoPsmAvailableSocketConnectionFailureNullDeviceL2CapAclFailureL2CapInsufficientAuthenticationRpcFailureL2CapClientSecurityFailureL2CapInsufficientAuthorizationL2CapInsufficientEncryptKeySizeL2CapNoResourcesL2CapUnknownUnixFileSocketCreationFailure

屬性

備註

回傳與此故障相關的錯誤代碼。

Java 文件 android.bluetooth.BluetoothSocketException.getErrorCode()。

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

適用於