ConnectivityInterval ConnectivityInterval ConnectivityInterval ConnectivityInterval Class

Definition

Provides the start time and duration for an established or prior connection.

public : sealed class ConnectivityInterval : IConnectivityIntervalpublic sealed class ConnectivityInterval : IConnectivityIntervalPublic NotInheritable Class ConnectivityInterval Implements IConnectivityInterval// 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)

Properties

ConnectionDuration ConnectionDuration ConnectionDuration ConnectionDuration

Indicates the duration of connectivity.

public : TimeSpan ConnectionDuration { get; }public TimeSpan ConnectionDuration { get; }Public ReadOnly Property ConnectionDuration As TimeSpan// You can use this property in JavaScript.
Value
TimeSpan TimeSpan TimeSpan TimeSpan

The period of time that represents the duration of connectivity.

StartTime StartTime StartTime StartTime

Indicates when the connection was initially established.

public : DateTime StartTime { get; }public DateTimeOffset StartTime { get; }Public ReadOnly Property StartTime As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time at which the connection was established.