Share via


AllJoynBusAttachment.GetAboutDataAsync Method

Definition

Overloads

GetAboutDataAsync(AllJoynServiceInfo)

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Gets the About data for a specific AllJoyn endpoint. This method is intended to replace the less intuitive static AllJoynAboutDataView.GetDataBySessionPortAsync().

GetAboutDataAsync(AllJoynServiceInfo, Language)

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Gets the About data for a specific AllJoyn endpoint in a specific language. This method is intended to replace the less intuitive static AllJoynAboutDataView.GetDataBySessionPortAsync().

GetAboutDataAsync(AllJoynServiceInfo)

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Gets the About data for a specific AllJoyn endpoint. This method is intended to replace the less intuitive static AllJoynAboutDataView.GetDataBySessionPortAsync().

public:
 virtual IAsyncOperation<AllJoynAboutDataView ^> ^ GetAboutDataAsync(AllJoynServiceInfo ^ serviceInfo) = GetAboutDataAsync;
/// [Windows.Foundation.Metadata.Overload("GetAboutDataAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo const& serviceInfo);
/// [Windows.Foundation.Metadata.Overload("GetAboutDataAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo const& serviceInfo);
[Windows.Foundation.Metadata.Overload("GetAboutDataAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo serviceInfo);
[Windows.Foundation.Metadata.Overload("GetAboutDataAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo serviceInfo);
function getAboutDataAsync(serviceInfo)
Public Function GetAboutDataAsync (serviceInfo As AllJoynServiceInfo) As IAsyncOperation(Of AllJoynAboutDataView)

Parameters

serviceInfo
AllJoynServiceInfo

The AllJoyn endpoint from which to retrieve About data.

Returns

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
allJoyn

Remarks

This method makes acquiring About data more intuitive than it was in previous Windows releases.

See also

Applies to

GetAboutDataAsync(AllJoynServiceInfo, Language)

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

Gets the About data for a specific AllJoyn endpoint in a specific language. This method is intended to replace the less intuitive static AllJoynAboutDataView.GetDataBySessionPortAsync().

public:
 virtual IAsyncOperation<AllJoynAboutDataView ^> ^ GetAboutDataAsync(AllJoynServiceInfo ^ serviceInfo, Language ^ language) = GetAboutDataAsync;
/// [Windows.Foundation.Metadata.Overload("GetAboutDataWithLanguageAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo const& serviceInfo, Language const& language);
/// [Windows.Foundation.Metadata.Overload("GetAboutDataWithLanguageAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo const& serviceInfo, Language const& language);
[Windows.Foundation.Metadata.Overload("GetAboutDataWithLanguageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo serviceInfo, Language language);
[Windows.Foundation.Metadata.Overload("GetAboutDataWithLanguageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<AllJoynAboutDataView> GetAboutDataAsync(AllJoynServiceInfo serviceInfo, Language language);
function getAboutDataAsync(serviceInfo, language)
Public Function GetAboutDataAsync (serviceInfo As AllJoynServiceInfo, language As Language) As IAsyncOperation(Of AllJoynAboutDataView)

Parameters

serviceInfo
AllJoynServiceInfo

The AllJoyn endpoint from which to retrieve About data.

language
Language

The language in which to request About data. If the requested language is not supported, the remote device's default language will be used.

Returns

This method makes acquiring About data more intuitive than it was in previous Windows releases.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
allJoyn

See also

Applies to