Udostępnij za pośrednictwem


ConnectionCost.OverDataLimit Property

Definition

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

public:
 property bool OverDataLimit { bool get(); };
bool OverDataLimit();
public bool OverDataLimit { get; }
var boolean = connectionCost.overDataLimit;
Public ReadOnly Property OverDataLimit As Boolean

Property Value

Boolean

bool

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

Remarks

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

Applies to