Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SmsDeviceMessageStore class

Applies to Windows only

Provides access to the messages stored on an SMS Device and information about the message store.

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

Syntax


var smsDeviceMessageStore = Windows.Devices.Sms.SmsDevices.MessageStore;

Attributes

[DualApiPartition()]
[Version(0x06020000)]

Members

The SmsDeviceMessageStore class has these types of members:

Methods

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

MethodDescription
DeleteMessageAsync Deletes the message with the specified ID. Because the device might be busy, the operation executes asynchronously. The asynchronous operation object returns immediately.
DeleteMessagesAsync Deletes the messages to which the filter applies. The filter can be used to delete all messages, or only messages that are read, unread, sent, or in a draft state. Because the operation might not be instantaneous, it executes asynchronously. The asynchronous operation object returns immediately.
GetMessageAsync Retrieves the message with the specified ID. The device might be busy, so the method executes asynchronously. The asynchronous operation object returns immediately.
GetMessagesAsync Retrieves a list of messages that match the conditions specified in a filter. The messages can be filtered as read, unread, sent, or in the draft state.

 

Properties

The SmsDeviceMessageStore class has these properties.

PropertyAccess typeDescription

MaxMessages

Read-onlyIndicates the maximum number of messages that can be stored in the device store. The client can use this value to determine how to maintain enough space in the device store to receive new messages from the network.

 

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.Devices.Sms
Windows::Devices::Sms [C++]

Metadata

Windows.winmd

Capabilities

sms

 

 

Show:
© 2014 Microsoft