BluetoothSocketException Constructores

Definición

Sobrecargas

Nombre Description
BluetoothSocketException(BluetoothSocketExceptionReason)

Cree un BluetoothSocketException con un código de error.

BluetoothSocketException(BluetoothSocketExceptionReason, String)

Cree un BluetoothSocketException con un código de error y un mensaje de error personalizado.

BluetoothSocketException(IntPtr, JniHandleOwnership)

BluetoothSocketException(BluetoothSocketExceptionReason)

Cree un BluetoothSocketException con un código de error.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=34)]
public BluetoothSocketException(Android.Bluetooth.BluetoothSocketExceptionReason code);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=34)>]
new Android.Bluetooth.BluetoothSocketException : Android.Bluetooth.BluetoothSocketExceptionReason -> Android.Bluetooth.BluetoothSocketException

Parámetros

code
BluetoothSocketExceptionReason

: código de error que representa el motivo del error.

Atributos

Comentarios

Cree un BluetoothSocketException con un código de error. Se genera un mensaje de error genérico en función del code proporcionado.

Java documentación para android.bluetooth.BluetoothSocketException.BluetoothSocketException(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

BluetoothSocketException(BluetoothSocketExceptionReason, String)

Cree un BluetoothSocketException con un código de error y un mensaje de error personalizado.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=34)]
public BluetoothSocketException(Android.Bluetooth.BluetoothSocketExceptionReason code, string msg);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=34)>]
new Android.Bluetooth.BluetoothSocketException : Android.Bluetooth.BluetoothSocketExceptionReason * string -> Android.Bluetooth.BluetoothSocketException

Parámetros

code
BluetoothSocketExceptionReason

: código de error que representa el motivo del error.

msg
String

: mensaje de error personalizado asociado al error.

Atributos

Comentarios

Cree un BluetoothSocketException con un código de error y un mensaje de error personalizado.

Java documentación para android.bluetooth.BluetoothSocketException.BluetoothSocketException(int, java.lang.String).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

BluetoothSocketException(IntPtr, JniHandleOwnership)

protected BluetoothSocketException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Bluetooth.BluetoothSocketException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Bluetooth.BluetoothSocketException

Parámetros

javaReference
IntPtr

nativeint

Se aplica a