NetworkUsageStates
NetworkUsageStates
NetworkUsageStates
NetworkUsageStates
Struct
Definition
Defines the desired state of the connection profile for which usage data is returned by the method GetNetworkUsageAsync.
public : struct NetworkUsageStatespublic struct NetworkUsageStatesPublic Structure NetworkUsageStates// You can use this struct in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The Shared NetworkUsageState corresponds to when a network connection is made available to provide internet access for other devices. For an example of how NetworkUsageStates is used, see How to retrieve connection usage data for a specific period of time.
Fields
Roaming Roaming Roaming Roaming
Defines the desired roaming state of the network connection.
public : field TriStates Roamingpublic field TriStates RoamingPublic Field Roaming// You can use this field in JavaScript.