Share via


AllJoynMessageInfo(String) Constructor

Definition

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.

Generates an AllJoynMessageInfo object that contains the unique name of the sender that sent the message being processed.

public:
 AllJoynMessageInfo(Platform::String ^ senderUniqueName);
 AllJoynMessageInfo(winrt::hstring const& senderUniqueName);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynMessageInfo has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 AllJoynMessageInfo(winrt::hstring const& senderUniqueName);
public AllJoynMessageInfo(string senderUniqueName);
[Windows.Foundation.Metadata.Deprecated("AllJoynMessageInfo has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynMessageInfo(string senderUniqueName);
function AllJoynMessageInfo(senderUniqueName)
Public Sub New (senderUniqueName As String)

Parameters

senderUniqueName
String

Platform::String

winrt::hstring

The unique name of the sender.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to