Share via


SmsDeviceMessageStore.MaxMessages Proprietà

Definizione

Indica il numero massimo di messaggi che possono essere archiviati nell'archivio dispositivi. Il client può usare questo valore per determinare come mantenere spazio sufficiente nell'archivio dispositivi per ricevere nuovi messaggi dalla rete.

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

Valore della proprietà

UInt32

unsigned int

uint32_t

Valore intero che rappresenta il numero massimo di messaggi per l'archivio dispositivi.

Attributi

Requisiti Windows

Funzionalità dell'app
cellularMessaging sms

Si applica a