ESimOperationStatus Enum

Definition

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

CardBusy 11

Indicates that the SIM card is busy.

CardGeneralFailure 13

Indicates that a card error occurred that prevented the download/install/other operation from completing successfully.

CardRemoved 10

Indicates that the SIM card has been removed.

ConfirmationCodeMaxRetriesExceeded 9

Indicates that the wrong confirmation code was supplied during the operation, and that no more retries are permitted.

ConfirmationCodeMissing 14

Indicates that a confirmation code is needed in order to download the eSIM profile.

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.

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.

IncorrectConfirmationCode 8

Indicates that the wrong confirmation code was supplied during the operation.

InsufficientSpaceOnCard 4

Indicates that there is not enough storage space on the card to complete the operation.

InvalidMatchingId 15

Indicates that the matching ID from the activation code or discovered event was refused.

NoCorrespondingRequest 23

Indicates that no corresponding request could be found.

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.

NotAuthorized 1

Indicates that the operation was not authorized.

NotFound 2

Indicates that the specified eSIM profile was not found.

OperationAborted 17

Indicates that the operation aborted.

OperationProhibitedByProfileClass 21

Indicates that the operation is not allowed for the eSIM profile class.

Other 12

Indicates a status that's not accounted for by a more specific status.

PolicyViolation 3

Indicates that the operation violates policy.

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.

ProfileNotAvailableForNewBinding 19

Indicates that the user is trying to download an eSIM profile that has already been claimed/downloaded.

ProfileNotPresent 22

Indicates that an eSIM profile could not be found.

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.

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.

ServerFailure 5

Indicates that a server failure occurred during the operation.

ServerNotReachable 6

Indicates that the server could not be reached during the operation.

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.

Success 0

Indicates that the operation was successful.

TimeoutWaitingForResponse 24

The operation timed out waiting for card response. Suggest that the user try to add the profile again.

TimeoutWaitingForUserConsent 7

Indicates that user consent was not granted within the timeout period of the operation.

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

Applies to