Dela via


NetworkOperatorNotificationEventDetails.SmsMessage Property

Definition

Gets an SMS message for the mobile broadband account that received the notification.

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 special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 property ISmsMessage ^ SmsMessage { ISmsMessage ^ get(); };
ISmsMessage SmsMessage();
public ISmsMessage SmsMessage { get; }
var iSmsMessage = networkOperatorNotificationEventDetails.smsMessage;
Public ReadOnly Property SmsMessage As ISmsMessage

Property Value

If the network operator notification is triggered by a new mobile network operator SMS, it contains the SMS message object for the network operator notification. NULL if no SMS message was received as part of the notification.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to