Share via


AllJoynSessionLostEventArgs(AllJoynSessionLostReason) 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 AllJoynSessionLostEventArgs object containing information that identifies the reason for the lost session.

public:
 AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason);
 AllJoynSessionLostEventArgs(AllJoynSessionLostReason const& reason);
/// [Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
 AllJoynSessionLostEventArgs(AllJoynSessionLostReason const& reason);
public AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason);
[Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason);
function AllJoynSessionLostEventArgs(reason)
Public Sub New (reason As AllJoynSessionLostReason)

Parameters

reason
AllJoynSessionLostReason

The reason the session was lost.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to