IrDAEndPoint クラスとは? わかりやすく解説

IrDAEndPoint クラス

赤外線通信エンドポイント表します

名前空間: System.Net
アセンブリ: System.Net.IrDA (system.net.irda.dll 内)
構文構文

Public Class IrDAEndPoint
    Inherits EndPoint
public class IrDAEndPoint : EndPoint
public class IrDAEndPoint extends EndPoint
public class IrDAEndPoint extends
 EndPoint
解説解説
使用例使用例

次のコード例は、IrDAEndPoint クラス使用してデバイスへの接続作成しIrDAListener クラス使用してそのデバイスからの赤外線通信待機開始してます。このコード例は、IrDAClient クラストピック取り上げているコード例一部分です。

' Create a connection, with the IrDAEndPoint class,
' for the selected device in the list box.
' Start listening for incoming requests from
' that device with an IrDAListener object.
Try
    Dim i As Integer = ListBox1.SelectedIndex
    irEndP = New IrDAEndPoint(irDevices(i).DeviceID, irServiceName)
    irListen = New IrDAListener(irEndP)
    irListen.Start()
Catch exSoc As SocketException
    MsgBox("Couldn't listen on service " & irServiceName
 & ": " _
        & exSoc.ErrorCode)
End Try
// Create a connection, with the IrDAEndPoint class,
// for the selected device in the list box.
// Start listening for incoming requests from
// that device with an IrDAListener object.
try
{
    int i = listBox1.SelectedIndex;
    irEndP = new IrDAEndPoint(irDevices[i].DeviceID,
        irServiceName);
    irListen = new IrDAListener(irEndP);
    irListen.Start();
}
catch(SocketException exSoc)
{
    MessageBox.Show("Couldn't listen on service "
        + irServiceName + ": "
        + exSoc.ErrorCode);
}
継承階層継承階層
System.Object
   System.Net.EndPoint
    System.Net.IrDAEndPoint
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「IrDAEndPoint クラス」の関連用語

IrDAEndPoint クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IrDAEndPoint クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS