AllJoynAboutDataView.GetDataBySessionPortAsync メソッド

定義

オーバーロード

GetDataBySessionPortAsync(String, AllJoynBusAttachment, UInt16, Language)

重要

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

特定の言語のセッションの About データを取得します。

GetDataBySessionPortAsync(String, AllJoynBusAttachment, UInt16)

重要

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

セッションの About データを取得します。

GetDataBySessionPortAsync(String, AllJoynBusAttachment, UInt16, Language)

重要

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

特定の言語のセッションの About データを取得します。

public:
 static IAsyncOperation<AllJoynAboutDataView ^> ^ GetDataBySessionPortAsync(Platform::String ^ uniqueName, AllJoynBusAttachment ^ busAttachment, unsigned short sessionPort, Language ^ language);
/// [Windows.Foundation.Metadata.Overload("GetDataBySessionPortWithLanguageAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(winrt::hstring const& uniqueName, AllJoynBusAttachment const& busAttachment, uint16_t const& sessionPort, Language const& language);
/// [Windows.Foundation.Metadata.Overload("GetDataBySessionPortWithLanguageAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(winrt::hstring const& uniqueName, AllJoynBusAttachment const& busAttachment, uint16_t const& sessionPort, Language const& language);
[Windows.Foundation.Metadata.Overload("GetDataBySessionPortWithLanguageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(string uniqueName, AllJoynBusAttachment busAttachment, ushort sessionPort, Language language);
[Windows.Foundation.Metadata.Overload("GetDataBySessionPortWithLanguageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(string uniqueName, AllJoynBusAttachment busAttachment, ushort sessionPort, Language language);
function getDataBySessionPortAsync(uniqueName, busAttachment, sessionPort, language)
Public Shared Function GetDataBySessionPortAsync (uniqueName As String, busAttachment As AllJoynBusAttachment, sessionPort As UShort, language As Language) As IAsyncOperation(Of AllJoynAboutDataView)

パラメーター

uniqueName
String

Platform::String

winrt::hstring

一意の名前。

busAttachment
AllJoynBusAttachment

セッションをサポートするバスの添付ファイル。

sessionPort
UInt16

unsigned short

uint16_t

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

language
Language

説明データを返す言語。

戻り値

設定された言語のセッションの About データを含む オブジェクト。

属性

Windows の要件

アプリの機能
allJoyn

こちらもご覧ください

適用対象

GetDataBySessionPortAsync(String, AllJoynBusAttachment, UInt16)

重要

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

セッションの About データを取得します。

public:
 static IAsyncOperation<AllJoynAboutDataView ^> ^ GetDataBySessionPortAsync(Platform::String ^ uniqueName, AllJoynBusAttachment ^ busAttachment, unsigned short sessionPort);
/// [Windows.Foundation.Metadata.Overload("GetDataBySessionPortAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(winrt::hstring const& uniqueName, AllJoynBusAttachment const& busAttachment, uint16_t const& sessionPort);
/// [Windows.Foundation.Metadata.Overload("GetDataBySessionPortAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(winrt::hstring const& uniqueName, AllJoynBusAttachment const& busAttachment, uint16_t const& sessionPort);
[Windows.Foundation.Metadata.Overload("GetDataBySessionPortAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(string uniqueName, AllJoynBusAttachment busAttachment, ushort sessionPort);
[Windows.Foundation.Metadata.Overload("GetDataBySessionPortAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<AllJoynAboutDataView> GetDataBySessionPortAsync(string uniqueName, AllJoynBusAttachment busAttachment, ushort sessionPort);
function getDataBySessionPortAsync(uniqueName, busAttachment, sessionPort)
Public Shared Function GetDataBySessionPortAsync (uniqueName As String, busAttachment As AllJoynBusAttachment, sessionPort As UShort) As IAsyncOperation(Of AllJoynAboutDataView)

パラメーター

uniqueName
String

Platform::String

winrt::hstring

一意の名前。

busAttachment
AllJoynBusAttachment

セッションをサポートするバスの添付ファイル。

sessionPort
UInt16

unsigned short

uint16_t

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

戻り値

セッションの About データを含むオブジェクト。

属性

Windows の要件

アプリの機能
allJoyn

こちらもご覧ください

適用対象