UssdResultCode Enum

Definition

Describes the USSD response codes for messages sent to the network.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public enum class UssdResultCode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UssdResultCode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UssdResultCode
var value = Windows.Networking.NetworkOperators.UssdResultCode.noActionRequired
Public Enum UssdResultCode
Inheritance
UssdResultCode
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

ActionRequired 1

The USSD message that was received is either a USSD request from the network or a response to a message sent to the network. Additional information is needed. The USSD session is open.

NetworkTimeout 5

The USSD session has been closed because there was no response from the network.

NoActionRequired 0

The USSD message that was received is either a USSD notification from the network or a response to an earlier request. No further information is necessary. The USSD session is closed.

OperationNotSupported 4

The previous USSD request failed because the request was invalid or cannot be handled by the driver, device, or network.

OtherLocalClient 3

The previous USSD request failed because another local client has an active USSD session.

Terminated 2

The USSD session has been terminated by the network or a local client.

Applies to