Udostępnij za pośrednictwem


ISmsDevice.MessageStore Property

Definition

Accesses the on-device message store. The store holds messages until a client can retrieve them. On some devices, for example, the store may correspond to the SIM storage for SMS messages.

public:
 property SmsDeviceMessageStore ^ MessageStore { SmsDeviceMessageStore ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
SmsDeviceMessageStore MessageStore();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
SmsDeviceMessageStore MessageStore();
public SmsDeviceMessageStore MessageStore { [Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public SmsDeviceMessageStore MessageStore { [Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var smsDeviceMessageStore = iSmsDevice.messageStore;
Public ReadOnly Property MessageStore As SmsDeviceMessageStore

Property Value

A reference to an SmsMessageStore object.

Attributes

Windows requirements

App capabilities
cellularMessaging sms

Applies to