AllJoynServiceInfo(String, String, UInt16) Constructor

Definition

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

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)

Parameters

uniqueName
String

The unique bus name.

objectPath
String

The object path.

sessionPort
UInt16

uint16_t

The port for this session.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to