Condividi tramite


SmsFilterRules Classe

Definizione

Raccolta di istanze di SmsFilterRule .

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.

public ref class SmsFilterRules sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Sms.ISmsFilterRulesFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SmsFilterRules final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Sms.ISmsFilterRulesFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class SmsFilterRules final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Sms.ISmsFilterRulesFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SmsFilterRules
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Sms.ISmsFilterRulesFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SmsFilterRules
function SmsFilterRules(actionType)
Public NotInheritable Class SmsFilterRules
Ereditarietà
Object Platform::Object IInspectable SmsFilterRules
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)
Funzionalità dell'app
cellularMessaging sms

Costruttori

SmsFilterRules(SmsFilterActionType)

Crea un'istanza di SmsFilterRules.

Proprietà

ActionType

SmsFilterActionType per questo set di regole di filtro.

Rules

Ottiene l'elenco di regole in questa istanza di SmsFilterRules .

Si applica a