ConnectivityInterval 类

定义

提供已建立或先前连接的开始时间和持续时间。

public ref class ConnectivityInterval sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ConnectivityInterval final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ConnectivityInterval
Public NotInheritable Class ConnectivityInterval
继承
Object Platform::Object IInspectable ConnectivityInterval
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

ConnectionDuration

指示连接的持续时间。

StartTime

指示最初建立连接的时间。

适用于