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

適用於