ESimOperationStatus 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 status of an ESimOperationResult object.
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 ESimOperationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class ESimOperationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum ESimOperationStatus
var value = Windows.Networking.NetworkOperators.ESimOperationStatus.success
Public Enum ESimOperationStatus
- Inheritance
-
ESimOperationStatus
- 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 |
---|---|---|
Success | 0 | Indicates that the operation was successful. |
NotAuthorized | 1 | Indicates that the operation was not authorized. |
NotFound | 2 | Indicates that the specified eSIM profile was not found. |
PolicyViolation | 3 | Indicates that the operation violates policy. |
InsufficientSpaceOnCard | 4 | Indicates that there is not enough storage space on the card to complete the operation. |
ServerFailure | 5 | Indicates that a server failure occurred during the operation. |
ServerNotReachable | 6 | Indicates that the server could not be reached during the operation. |
TimeoutWaitingForUserConsent | 7 | Indicates that user consent was not granted within the timeout period of the operation. |
IncorrectConfirmationCode | 8 | Indicates that the wrong confirmation code was supplied during the operation. |
ConfirmationCodeMaxRetriesExceeded | 9 | Indicates that the wrong confirmation code was supplied during the operation, and that no more retries are permitted. |
CardRemoved | 10 | Indicates that the SIM card has been removed. |
CardBusy | 11 | Indicates that the SIM card is busy. |
Other | 12 | Indicates a status that's not accounted for by a more specific status. |
CardGeneralFailure | 13 | Indicates that a card error occurred that prevented the download/install/other operation from completing successfully. |
ConfirmationCodeMissing | 14 | Indicates that a confirmation code is needed in order to download the eSIM profile. |
InvalidMatchingId | 15 | Indicates that the matching ID from the activation code or discovered event was refused. |
NoEligibleProfileForThisDevice | 16 | Indicates that an eSIM profile compatible with this device could not be found. For example, a profile was found that requires LTE support, but the device only supports 3G. |
OperationAborted | 17 | Indicates that the operation aborted. |
EidMismatch | 18 | Indicates that an eSIM profile on the mobile operator (MO) server is already allocated for a different eSIM EID than the one the device has. |
ProfileNotAvailableForNewBinding | 19 | Indicates that the user is trying to download an eSIM profile that has already been claimed/downloaded. |
ProfileNotReleasedByOperator | 20 | Indicates that the eSIM profile is available, but it is not yet marked as released for download by the mobile operator (MO). You can only download a released profile, so the MO needs to mark the profile as released. |
OperationProhibitedByProfileClass | 21 | Indicates that the operation is not allowed for the eSIM profile class. |
ProfileNotPresent | 22 | Indicates that an eSIM profile could not be found. |
NoCorrespondingRequest | 23 | Indicates that no corresponding request could be found. |
TimeoutWaitingForResponse | 24 | The operation timed out waiting for card response. Suggest that the user try to add the profile again. |
IccidAlreadyExists | 25 | Indicates that the profile couldn't be added because another one with the same ID is already on the eSIM. Suggest that the user contact their mobile operator. |
ProfileProcessingError | 26 | Indicates that the profile couldn't be added because there was a problem installing it. Suggest that the user contact their mobile operator. |
ServerNotTrusted | 27 | Indicates that the profile couldn't be downloaded because the server isn't a trusted source. Suggest that the user contact their mobile operator. |
ProfileDownloadMaxRetriesExceeded | 28 | Indicates that the profile couldn't be added because because it was downloaded too many times. Suggest that the user contact their mobile operator. |
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1809 | 17763 | CardGeneralFailure |
1809 | 17763 | ConfirmationCodeMissing |
1809 | 17763 | EidMismatch |
1809 | 17763 | InvalidMatchingId |
1809 | 17763 | NoCorrespondingRequest |
1809 | 17763 | NoEligibleProfileForThisDevice |
1809 | 17763 | OperationAborted |
1809 | 17763 | OperationProhibitedByProfileClass |
1809 | 17763 | ProfileNotAvailableForNewBinding |
1809 | 17763 | ProfileNotPresent |
1809 | 17763 | ProfileNotReleasedByOperator |