UssdMessage class

Applies to Windows only

Represents a USSD message that is used for sending messages to and receiving messages from the network.

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();

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

Members

The UssdMessage class has these types of members:

Constructors

The UssdMessage class has these constructors.

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

 

Methods

The UssdMessage class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetPayload Gets the raw payload of this UssdMessage.
SetPayload Sets the raw payload of this UssdMessage.

 

Properties

The UssdMessage class has these properties.

PropertyAccess typeDescription

DataCodingScheme

Read/writeGets or sets the encoding scheme of the payload of this UssdMessage.

PayloadAsText

Read/writeGets or sets the payload of this UssdMessage as text.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft