SmsDeviceMessageStore.MaxMessages 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示设备存储中可以存储的最大消息数。 客户端可以使用此值来确定如何在设备存储中保留足够的空间来接收来自网络的新消息。
public:
property unsigned int MaxMessages { unsigned int get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
uint32_t MaxMessages();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
uint32_t MaxMessages();
public uint MaxMessages { [Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public uint MaxMessages { [Windows.Foundation.Metadata.Deprecated("SmsDeviceMessageStore may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var uInt32 = smsDeviceMessageStore.maxMessages;
Public ReadOnly Property MaxMessages As UInteger
属性值
一个整数值,表示设备存储的最大消息数。
- 属性
Windows 要求
应用功能 |
cellularMessaging
sms
|