AllJoynServiceInfo(String, String, UInt16) コンストラクター

定義

重要

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

広告アプリを表す AllJoynServiceInfo オブジェクトを生成します。 このオブジェクトは、一意のバス名、オブジェクト パス、およびトランスポート情報を提供します。

public:
 AllJoynServiceInfo(Platform::String ^ uniqueName, Platform::String ^ objectPath, unsigned short sessionPort);
 AllJoynServiceInfo(winrt::hstring const& uniqueName, winrt::hstring const& objectPath, uint16_t const& sessionPort);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynServiceInfo has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 AllJoynServiceInfo(winrt::hstring const& uniqueName, winrt::hstring const& objectPath, uint16_t const& sessionPort);
public AllJoynServiceInfo(string uniqueName, string objectPath, ushort sessionPort);
[Windows.Foundation.Metadata.Deprecated("AllJoynServiceInfo has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynServiceInfo(string uniqueName, string objectPath, ushort sessionPort);
function AllJoynServiceInfo(uniqueName, objectPath, sessionPort)
Public Sub New (uniqueName As String, objectPath As String, sessionPort As UShort)

パラメーター

uniqueName
String

Platform::String

winrt::hstring

一意のバス名。

objectPath
String

Platform::String

winrt::hstring

オブジェクト パスです。

sessionPort
UInt16

unsigned short

uint16_t

このセッションのポート。

属性

Windows の要件

アプリの機能
allJoyn

適用対象