BluetoothSocketException Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| BluetoothSocketException(BluetoothSocketExceptionReason) |
Cree un |
| BluetoothSocketException(BluetoothSocketExceptionReason, String) |
Cree un |
| 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
: 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
: 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.
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
- transfer
- JniHandleOwnership