Udostępnij za pośrednictwem


DataPlanStatus Class

Definition

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

public ref class DataPlanStatus sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DataPlanStatus final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DataPlanStatus
Public NotInheritable Class DataPlanStatus
Inheritance
Object Platform::Object IInspectable DataPlanStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Properties

DataLimitInMegabytes

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

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.

InboundBitsPerSecond

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

MaxTransferSizeInMegabytes

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

NextBillingCycle

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

OutboundBitsPerSecond

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

Applies to

See also