Lingua

BluetoothSocketException.ErrorCode Proprietà

Definizione

Restituisce il codice di errore associato a questo errore.

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

Valore della proprietà

Il valore è uno dei seguenti: UNSPECIFIED; L2CAP_UNKNOWN; L2CAP_ACL_FAILURE; L2CAP_CLIENT_SECURITY_FAILURE; L2CAP_INSUFFICIENT_AUTHENTICATION; L2CAP_INSUFFICIENT_AUTHORIZATION; L2CAP_INSUFFICIENT_ENCRYPT_KEY_SIZE; L2CAP_INSUFFICIENT_ENCRYPTION; L2CAP_INVALID_SOURCE_CID; L2CAP_SOURCE_CID_ALREADY_ALLOCATED; L2CAP_UNACCEPTABLE_PARAMETERS; L2CAP_INVALID_PARAMETERS; L2CAP_NO_RESOURCES; L2CAP_NO_PSM_AVAILABLE; L2CAP_TIMEOUT; BLUETOOTH_OFF_FAILURE; SOCKET_MANAGER_FAILURE; SOCKET_CLOSED; SOCKET_CONNECTION_FAILURE; NULL_DEVICE; RPC_FAILURE; UNIX_FILE_SOCKET_CREATION_FAILURE

Attributi

Commenti

Restituisce il codice di errore associato a questo errore.

per android.bluetooth.BluetoothSocketException.getErrorCode().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a