AllJoynSessionLostEventArgs.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Retrieves a value that indicates the reason for a lost session.
public:
property AllJoynSessionLostReason Reason { AllJoynSessionLostReason get(); };
AllJoynSessionLostReason Reason();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
AllJoynSessionLostReason Reason();
public AllJoynSessionLostReason Reason { get; }
public AllJoynSessionLostReason Reason { [Windows.Foundation.Metadata.Deprecated("AllJoynSessionLostEventArgs has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var allJoynSessionLostReason = allJoynSessionLostEventArgs.reason;
Public ReadOnly Property Reason As AllJoynSessionLostReason
Property Value
The reason the session was lost. Possible values are defined by AllJoynSessionLostReason.
- Attributes
Windows requirements
App capabilities |
allJoyn
|