SmsDevice.MessageStore 属性

定义

访问设备上的消息存储。 存储会保留消息,直到客户端可以检索它们。 例如,在某些设备上,存储可能与短信的 SIM 存储相对应。

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 = smsDevice.messageStore;
Public ReadOnly Property MessageStore As SmsDeviceMessageStore

属性值

SmsDeviceMessageStore 对象的引用。

实现

属性

Windows 要求

应用功能
cellularMessaging sms

适用于