DataPlanStatus DataPlanStatus DataPlanStatus DataPlanStatus Class

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

Syntax

Declaration

public sealed class DataPlanStatuspublic sealed class DataPlanStatusPublic NotInheritable Class DataPlanStatus

Remarks

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

Properties summary

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

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

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

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

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

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

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<uint> DataLimitInMegabytes { get; }public IReference<uint> DataLimitInMegabytes { get; }Public ReadOnly Property DataLimitInMegabytes As IReference<uint>

    Property Value

    • 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

    Property Value

  • 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 IReference<ulong> InboundBitsPerSecond { get; }Public ReadOnly Property InboundBitsPerSecond As IReference<ulong>

    Property Value

    • 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<uint> MaxTransferSizeInMegabytes { get; }public IReference<uint> MaxTransferSizeInMegabytes { get; }Public ReadOnly Property MaxTransferSizeInMegabytes As IReference<uint>

    Property Value

    • 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 IReference<DateTime> NextBillingCycle { get; }Public ReadOnly Property NextBillingCycle As IReference<DateTime>

    Property Value

    • 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 IReference<ulong> OutboundBitsPerSecond { get; }Public ReadOnly Property OutboundBitsPerSecond As IReference<ulong>

    Property Value

    • The outbound data transfer rate.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Networking.Connectivity.dll