SmsDeviceMessageStore.MaxMessages 属性

定义

指示设备存储中可以存储的最大消息数。 客户端可以使用此值来确定如何在设备存储中保留足够的空间来接收来自网络的新消息。

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

属性值

UInt32

unsigned int

uint32_t

一个整数值,表示设备存储的最大消息数。

属性

Windows 要求

应用功能
cellularMessaging sms

适用于