Windows Dev Center

UssdMessage.UssdMessage constructor

Creates a new instance of a UssdMessage and encodes the supplied string into the message payload.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators. For more information, see Mobile Broadband: Windows Store device apps.

Syntax


var ussdMessage = new Windows.Networking.NetworkOperators.UssdMessage(messageText);

Parameters

messageText

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The payload for the UssdMessage.

Remarks

The default UssdMessage constructor assigns the default DataCodingScheme value and encodes the string supplied to the constructor into the message payload.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

See also

UssdMessage

 

 

Show:
© 2015 Microsoft