Windows Dev Center

ConnectionCost.OverDataLimit | overDataLimit property

Gets a value that indicates if the connection has exceeded the data usage allowance specified by the data plan.

Syntax


var overDataLimit = connectionCost.overDataLimit;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

TRUE if the current total data usage is over the specified data limit; otherwise, FALSE.

Remarks

Note  For Windows Phone Store apps, when the device is in the OverDataLimit state, network connectivity is disabled for background tasks.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

ConnectionCost

 

 

Show:
© 2015 Microsoft