言語

BluetoothSocketException コンストラクター

定義

オーバーロード

名前 説明
BluetoothSocketException(BluetoothSocketExceptionReason)

エラー コードを含む BluetoothSocketException を作成します。

BluetoothSocketException(BluetoothSocketExceptionReason, String)

エラー コードとカスタム エラー メッセージを含む BluetoothSocketException を作成します。

BluetoothSocketException(IntPtr, JniHandleOwnership)

BluetoothSocketException(BluetoothSocketExceptionReason)

エラー コードを含む BluetoothSocketException を作成します。

[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

パラメーター

code
BluetoothSocketExceptionReason

: エラーの原因を表すエラー コード。

属性

注釈

エラー コードを含む BluetoothSocketException を作成します。 提供された code に基づいて、一般的なエラー メッセージが生成されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

BluetoothSocketException(BluetoothSocketExceptionReason, String)

エラー コードとカスタム エラー メッセージを含む BluetoothSocketException を作成します。

[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

パラメーター

code
BluetoothSocketExceptionReason

: エラーの原因を表すエラー コード。

msg
String

: エラーに関連付けられているカスタム エラー メッセージ。

属性

注釈

エラー コードとカスタム エラー メッセージを含む BluetoothSocketException を作成します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

BluetoothSocketException(IntPtr, JniHandleOwnership)

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

パラメーター

javaReference
IntPtr

nativeint

適用対象