ESimProfileState 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.
Defines constants that specify the state of an eSIM profile, including its presence and enabled status.
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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.
public enum class ESimProfileState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class ESimProfileState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum ESimProfileState
var value = Windows.Networking.NetworkOperators.ESimProfileState.unknown
Public Enum ESimProfileState
- Inheritance
-
ESimProfileState
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
App capabilities |
Microsoft.eSIMManagement_8wekyb3d8bbwe
|
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Indicates that the state of the eSIM profile is not known. |
Disabled | 1 | Indicates that the eSIM profile is disabled. |
Enabled | 2 | Indicates that the eSIM profile is enabled. |
Deleted | 3 | Indicates that the eSIM profile has been deleted. |