AllJoynServiceInfo AllJoynServiceInfo AllJoynServiceInfo AllJoynServiceInfo AllJoynServiceInfo Class

Definition

Exposes unique name and transport information for an advertising app.

public : sealed class AllJoynServiceInfo
struct winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo
public sealed class AllJoynServiceInfo
Public NotInheritable Class AllJoynServiceInfo
var allJoynServiceInfo = new allJoynServiceInfo(uniqueName, objectPath, sessionPort);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
allJoyn

Remarks

Version history

Windows version SDK version Value added
1607 14393 FromIdAsync

Constructors

AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16) AllJoynServiceInfo(String, String, UInt16)

Generates an AllJoynServiceInfo object that represents an advertising app. This object provides the unique bus name, object path and transport information.

Properties

ObjectPath ObjectPath ObjectPath ObjectPath ObjectPath

The path to the service object. This path is used to match communications with service objects connected to the session.

SessionPort SessionPort SessionPort SessionPort SessionPort

The port used to connect to the session.

UniqueName UniqueName UniqueName UniqueName UniqueName

The unique bus name associated with the advertising app.

Methods

FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)

Converts a DeviceInformation ID acquired by a device enumeration into an AllJoynServiceInfo object.