BluetoothSocketException コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| BluetoothSocketException(BluetoothSocketExceptionReason) |
エラー コードを含む |
| BluetoothSocketException(BluetoothSocketExceptionReason, String) |
エラー コードとカスタム エラー メッセージを含む |
| 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
パラメーター
: エラーの原因を表すエラー コード。
- 属性
注釈
エラー コードを含む BluetoothSocketException を作成します。 提供された code に基づいて、一般的なエラー メッセージが生成されます。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
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
パラメーター
: エラーの原因を表すエラー コード。
- msg
- String
: エラーに関連付けられているカスタム エラー メッセージ。
- 属性
注釈
エラー コードとカスタム エラー メッセージを含む BluetoothSocketException を作成します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
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
- transfer
- JniHandleOwnership