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

属性值

对 SmsMessageStore 对象的引用。

属性

Windows 要求

应用功能
cellularMessaging sms

适用于