AllJoynServiceInfo.SessionPort プロパティ

定義

重要

Windows.Devices.AllJoyn 名前空間の型は非推奨となり、将来のバージョンの Windows では使用できない可能性があります。 AllSeen Alliance が主催する AllJoyn は、照明のオンとオフ、温度の読み取りなどのモノのインターネット (IoT) シナリオ向けのオープンソースの検出と通信プロトコルでした。 IoTivity LiteIoTivity などの代替手段については、iotivity.org Web サイトを参照してください。

セッションへの接続に使用されるポート。

public:
 property unsigned short SessionPort { unsigned short get(); };
uint16_t SessionPort();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynServiceInfo has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
uint16_t SessionPort();
public ushort SessionPort { get; }
public ushort SessionPort { [Windows.Foundation.Metadata.Deprecated("AllJoynServiceInfo has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var uInt16 = allJoynServiceInfo.sessionPort;
Public ReadOnly Property SessionPort As UShort

プロパティ値

UInt16

unsigned short

uint16_t

接続ポート番号。

属性

Windows の要件

アプリの機能
allJoyn

適用対象