AllJoynSessionLostReason AllJoynSessionLostReason AllJoynSessionLostReason AllJoynSessionLostReason AllJoynSessionLostReason Enum

Definition

Defines values used by AllJoynSessionLostEventArgs to indicate the reason for a lost session.

public : enum class AllJoynSessionLostReason
enum class winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason : int32_t
public enum AllJoynSessionLostReason
Public Enum AllJoynSessionLostReason
var value = Windows.Devices.AllJoyn.AllJoynSessionLostReason.linkTimeout;
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

Fields

LinkTimeout LinkTimeout LinkTimeout LinkTimeout LinkTimeout 4

The connection supporting the session timed out.

None None None None None 0

No reason indicated.

Other Other Other Other Other 5

The session was lost due to any other reason.

ProducerClosedAbruptly ProducerClosedAbruptly ProducerClosedAbruptly ProducerClosedAbruptly ProducerClosedAbruptly 2

The Producer closed the session unexpectedly.

ProducerLeftSession ProducerLeftSession ProducerLeftSession ProducerLeftSession ProducerLeftSession 1

The Producer left the session.

RemovedByProducer RemovedByProducer RemovedByProducer RemovedByProducer RemovedByProducer 3

The Consumer was removed from the session by the Producer.