NetworkRegistrationState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the network registration state of a mobile broadband device.
Note
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.
public enum class NetworkRegistrationState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class NetworkRegistrationState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum NetworkRegistrationState
var value = Windows.Networking.NetworkOperators.NetworkRegistrationState.none
Public Enum NetworkRegistrationState
- Inheritance
-
NetworkRegistrationState
- 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)
|
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | No connectivity. |
Deregistered | 1 | The device is not registered and is not searching for a network provider. |
Searching | 2 | The device is not registered and is searching for a network provider. |
Home | 3 | The device is on a home network provider. |
Roaming | 4 | The device is on a roaming network provider. |
Partner | 5 | The device is on a roaming partner network provider. |
Denied | 6 | The device was denied registration. Emergency voice calls may be made. This applies to voice and not data. |