Linguaggio

BluetoothSocketException Costruttori

Definizione

Overload

Nome Descrizione
BluetoothSocketException(BluetoothSocketExceptionReason)

Creare un BluetoothSocketException oggetto con un codice di errore.

BluetoothSocketException(BluetoothSocketExceptionReason, String)

Creare un BluetoothSocketException oggetto con un codice di errore e un messaggio di errore personalizzato.

BluetoothSocketException(IntPtr, JniHandleOwnership)

BluetoothSocketException(BluetoothSocketExceptionReason)

Creare un BluetoothSocketException oggetto con un codice di errore.

[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

Parametri

code
BluetoothSocketExceptionReason

: codice di errore che rappresenta il motivo dell'errore.

Attributi

Commenti

Creare un BluetoothSocketException oggetto con un codice di errore. Viene generato un messaggio di errore generico in base all'oggetto code fornito.

per android.bluetooth.BluetoothSocketException.BluetoothSocketException(int).

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

BluetoothSocketException(BluetoothSocketExceptionReason, String)

Creare un BluetoothSocketException oggetto con un codice di errore e un messaggio di errore personalizzato.

[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

Parametri

code
BluetoothSocketExceptionReason

: codice di errore che rappresenta il motivo dell'errore.

msg
String

: messaggio di errore personalizzato associato all'errore.

Attributi

Commenti

Creare un BluetoothSocketException oggetto con un codice di errore e un messaggio di errore personalizzato.

per android.bluetooth.BluetoothSocketException.BluetoothSocketException(int, java.lang.String).

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

BluetoothSocketException(IntPtr, JniHandleOwnership)

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

Parametri

javaReference
IntPtr

nativeint

Si applica a