DataPlanStatus DataPlanStatus DataPlanStatus DataPlanStatus Class

Definition

Represents the current status information for the data plan associated with a connection.

public : sealed class DataPlanStatus : IDataPlanStatus
public sealed class DataPlanStatus : IDataPlanStatus
Public NotInheritable Class DataPlanStatus Implements IDataPlanStatus
// This class does not provide a public constructor.
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)

Remarks

For more information on using cost data to manage connectivity, see Quickstart: Managing metered network cost constraints.

Properties

DataLimitInMegabytes DataLimitInMegabytes DataLimitInMegabytes DataLimitInMegabytes

Gets a value indicating the maximum data transfer allowance for a connection within each billing cycle, as defined by the data plan.

public : IReference<unsigned int> DataLimitInMegabytes { get; }
public Nullable<uint> DataLimitInMegabytes { get; }
Public ReadOnly Property DataLimitInMegabytes As Nullable<uint>
var nullable = dataPlanStatus.dataLimitInMegabytes;
Value
IReference<unsigned int> Nullable<uint> Nullable<uint> Nullable<uint>

The maximum number of megabytes allowed as defined by the network carrier.

DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage

Gets a DataPlanUsage object that indicates the amount of data transferred over the connection, in megabytes, and the last time this value was refreshed.

public : DataPlanUsage DataPlanUsage { get; }
public DataPlanUsage DataPlanUsage { get; }
Public ReadOnly Property DataPlanUsage As DataPlanUsage
var dataPlanUsage = dataPlanStatus.dataPlanUsage;
Value
DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage

The data usage and the last updated time.

InboundBitsPerSecond InboundBitsPerSecond InboundBitsPerSecond InboundBitsPerSecond

Gets a value indicating the nominal rate of the inbound data transfer occurring on the connection.

public : IReference<ulong> InboundBitsPerSecond { get; }
public Nullable<ulong> InboundBitsPerSecond { get; }
Public ReadOnly Property InboundBitsPerSecond As Nullable<ulong>
var nullable = dataPlanStatus.inboundBitsPerSecond;
Value
IReference<ulong> Nullable<ulong> Nullable<ulong> Nullable<ulong>

The rate of inbound data transfer.

MaxTransferSizeInMegabytes MaxTransferSizeInMegabytes MaxTransferSizeInMegabytes MaxTransferSizeInMegabytes

Gets a value indicates the maximum size of a transfer that is allowed without user consent on a metered network.

public : IReference<unsigned int> MaxTransferSizeInMegabytes { get; }
public Nullable<uint> MaxTransferSizeInMegabytes { get; }
Public ReadOnly Property MaxTransferSizeInMegabytes As Nullable<uint>
var nullable = dataPlanStatus.maxTransferSizeInMegabytes;
Value
IReference<unsigned int> Nullable<uint> Nullable<uint> Nullable<uint>

The maximum size of a transfer that is allowed without user consent on a metered network.

NextBillingCycle NextBillingCycle NextBillingCycle NextBillingCycle

Gets a value indicating the date and time of the next billing cycle.

public : IReference<DateTime> NextBillingCycle { get; }
public Nullable<DateTimeOffset> NextBillingCycle { get; }
Public ReadOnly Property NextBillingCycle As Nullable<DateTimeOffset>
var nullable = dataPlanStatus.nextBillingCycle;
Value
IReference<DateTime> Nullable<DateTimeOffset> Nullable<DateTimeOffset> Nullable<DateTimeOffset>

The date and time of the next billing cycle.

OutboundBitsPerSecond OutboundBitsPerSecond OutboundBitsPerSecond OutboundBitsPerSecond

Gets a value indicating the nominal rate of the outbound data transfer.

public : IReference<ulong> OutboundBitsPerSecond { get; }
public Nullable<ulong> OutboundBitsPerSecond { get; }
Public ReadOnly Property OutboundBitsPerSecond As Nullable<ulong>
var nullable = dataPlanStatus.outboundBitsPerSecond;
Value
IReference<ulong> Nullable<ulong> Nullable<ulong> Nullable<ulong>

The outbound data transfer rate.

See Also