AllJoynSessionLostEventArgs AllJoynSessionLostEventArgs AllJoynSessionLostEventArgs AllJoynSessionLostEventArgs Class

Definition

Contains information that identifies the reason for a lost session.

public : sealed class AllJoynSessionLostEventArgs : IAllJoynSessionLostEventArgspublic sealed class AllJoynSessionLostEventArgs : IAllJoynSessionLostEventArgsPublic NotInheritable Class AllJoynSessionLostEventArgs Implements IAllJoynSessionLostEventArgs// You can use this class in JavaScript.
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

Constructors

AllJoynSessionLostEventArgs(AllJoynSessionLostReason) AllJoynSessionLostEventArgs(AllJoynSessionLostReason) AllJoynSessionLostEventArgs(AllJoynSessionLostReason) AllJoynSessionLostEventArgs(AllJoynSessionLostReason)

Generates an AllJoynSessionLostEventArgs object containing information that identifies the reason for the lost session.

public : AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason)public AllJoynSessionLostEventArgs(AllJoynSessionLostReason reason)Public Sub New(reason As AllJoynSessionLostReason)// You can use this method in JavaScript.
Parameters
Additional features and 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

Properties

Reason Reason Reason Reason

Retrieves a value that indicates the reason for a lost session.

public : AllJoynSessionLostReason Reason { get; }public AllJoynSessionLostReason Reason { get; }Public ReadOnly Property Reason As AllJoynSessionLostReason// You can use this property in JavaScript.
Additional features and 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