This interface is implemented by all types of SMS messages that are supported.
This functionality is only available to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: device apps.
public interface class ISmsMessage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)] /// [Windows.Foundation.Metadata.Guid(3980156456, 27012, 19207, 129, 29, 141, 89, 6, 237, 60, 234)] struct ISmsMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)] [Windows.Foundation.Metadata.Guid(3980156456, 27012, 19207, 129, 29, 141, 89, 6, 237, 60, 234)] public interface ISmsMessage
Public Interface ISmsMessage
Windows 10 requirements
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows.Devices.Sms.LegacySmsApiContract (introduced in v1.0)
Retrieves an ID for the message, which can later be specified in calling message store methods in order to get or delete the message.
Returns the message class, as determined by the operator's message network. The two most common classes are None (normal message) or Class0 (special operator message, such as a roaming warning that must be shown immediately to the user). A typical client for end-user messages ignores Class0 messages.