SmsMessageFilter Enumerazione

Definizione

Questo tipo enumerato specifica i messaggi nell'archivio messaggi del dispositivo in cui viene eseguita un'operazione.

Nota

Questa funzionalità è disponibile solo per le app degli operatori mobili e le app UWP fornite con privilegi da operatori di rete mobile, adattatore a banda larga mobile IHV o OEM. Per altre informazioni, vedere Banda larga mobile.

Nota

Questa classe e i relativi metodi sono supportati per la manutenzione delle app desktop legacy usate nelle versioni precedenti di Windows. Se si usa questa classe, è necessario specificare Windows.Devices.Sms.LegacySmsApiContract nel manifesto dell'app. Non usare questa classe se si sta sviluppando una nuova app per Windows. Usare invece le API in questo spazio dei nomi che non richiedono Windows.Devices.Sms.LegacySmsApiContract.

public enum class SmsMessageFilter
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SmsMessageFilter may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
enum class SmsMessageFilter
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SmsMessageFilter may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
enum class SmsMessageFilter
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SmsMessageFilter may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public enum SmsMessageFilter
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SmsMessageFilter may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public enum SmsMessageFilter
var value = Windows.Devices.Sms.SmsMessageFilter.all
Public Enum SmsMessageFilter
Ereditarietà
SmsMessageFilter
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Desktop Extension SDK (è stato introdotto in 10.0.10240.0)
API contract
Windows.Devices.Sms.LegacySmsApiContract (è stato introdotto in v1.0)
Funzionalità dell'app
cellularMessaging sms

Campi

All 0

Tutti i messaggi nell'archivio messaggi del dispositivo.

Draft 4

Tutti i messaggi non inviati e salvati.

Read 2

Tutti i messaggi ricevuti vengono letti.

Sent 3

Tutti i messaggi inviati e salvati.

Unread 1

Tutti i messaggi ricevuti non letti.

Si applica a