SmsFilterRule SmsFilterRule SmsFilterRule SmsFilterRule Class

Definition

Describes an SMS filtering rule.

Note

This functionality is only available to mobile operator apps and Windows Store app given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: device apps.

public : sealed class SmsFilterRule : ISmsFilterRulepublic sealed class SmsFilterRule : ISmsFilterRulePublic NotInheritable Class SmsFilterRule Implements ISmsFilterRule// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

Constructors

SmsFilterRule(SmsMessageType) SmsFilterRule(SmsMessageType) SmsFilterRule(SmsMessageType) SmsFilterRule(SmsMessageType)

Creates a new, empty SmsFilterRule.

public : SmsFilterRule(SmsMessageType messageType)public SmsFilterRule(SmsMessageType messageType)Public Sub New(messageType As SmsMessageType)// You can use this method in JavaScript.
Parameters
messageType
SmsMessageType SmsMessageType SmsMessageType SmsMessageType

An enumeration value specifying the message type that will match this rule.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

Properties

BroadcastChannels BroadcastChannels BroadcastChannels BroadcastChannels

A list of broadcast channels that match this rule.

public : IVector<int> BroadcastChannels { get; }public IList<int> BroadcastChannels { get; }Public ReadOnly Property BroadcastChannels As IList<int>// You can use this property in JavaScript.
Value
IVector<int> IList<int> IList<int> IList<int>

List of broadcast channel identifiers that match this rule.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

BroadcastTypes BroadcastTypes BroadcastTypes BroadcastTypes

Gets a list of broadcast types for an SMS message that matches this rule.

public : IVector<SmsBroadcastType> BroadcastTypes { get; }public IList<SmsBroadcastType> BroadcastTypes { get; }Public ReadOnly Property BroadcastTypes As IList<SmsBroadcastType>// You can use this property in JavaScript.
Value
IVector<SmsBroadcastType> IList<SmsBroadcastType> IList<SmsBroadcastType> IList<SmsBroadcastType>

Enumeration values for broadcast types that match this rule.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

CellularClass CellularClass CellularClass CellularClass

The cellular class identifier for SMS messages that match this rule.

public : CellularClass CellularClass { get; set; }public CellularClass CellularClass { get; set; }Public ReadWrite Property CellularClass As CellularClass// You can use this property in JavaScript.
Value
CellularClass CellularClass CellularClass CellularClass

The enumeration value for the cellular class that matches this rule.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

DeviceIds DeviceIds DeviceIds DeviceIds

Gets a list of device identifiers for an SMS message that matches this rule.

public : IVector<string> DeviceIds { get; }public IList<string> DeviceIds { get; }Public ReadOnly Property DeviceIds As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

List of device identifiers for the message.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

ImsiPrefixes ImsiPrefixes ImsiPrefixes ImsiPrefixes

Gets the IMSI prefixes for an SMS message that matches this rule.

public : IVector<string> ImsiPrefixes { get; }public IList<string> ImsiPrefixes { get; }Public ReadOnly Property ImsiPrefixes As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

A list of IMSI prefixes.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

MessageType MessageType MessageType MessageType

Gets the message type of an SMS message that matches this filter rule.

public : SmsMessageType MessageType { get; }public SmsMessageType MessageType { get; }Public ReadOnly Property MessageType As SmsMessageType// You can use this property in JavaScript.
Value
SmsMessageType SmsMessageType SmsMessageType SmsMessageType

An enumeration value specifying the message type.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

PortNumbers PortNumbers PortNumbers PortNumbers

Gets a list of port numbers associated with the SMS message that matches this rule.

public : IVector<int> PortNumbers { get; }public IList<int> PortNumbers { get; }Public ReadOnly Property PortNumbers As IList<int>// You can use this property in JavaScript.
Value
IVector<int> IList<int> IList<int> IList<int>

List of port numbers.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

ProtocolIds ProtocolIds ProtocolIds ProtocolIds

Gets a list of protocol identifiers associated with the SMS message that matches this rule..

public : IVector<int> ProtocolIds { get; }public IList<int> ProtocolIds { get; }Public ReadOnly Property ProtocolIds As IList<int>// You can use this property in JavaScript.
Value
IVector<int> IList<int> IList<int> IList<int>

List of protocol identifiers.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

SenderNumbers SenderNumbers SenderNumbers SenderNumbers

Gets the sender numbers associated with an SMS message that matches this rule.

public : IVector<string> SenderNumbers { get; }public IList<string> SenderNumbers { get; }Public ReadOnly Property SenderNumbers As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

List of sender numbers.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

TeleserviceIds TeleserviceIds TeleserviceIds TeleserviceIds

Gets the list of teleservice identifiers for an SMS message that matches this rule.

public : IVector<int> TeleserviceIds { get; }public IList<int> TeleserviceIds { get; }Public ReadOnly Property TeleserviceIds As IList<int>// You can use this property in JavaScript.
Value
IVector<int> IList<int> IList<int> IList<int>

Teleservice identifiers.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

TextMessagePrefixes TextMessagePrefixes TextMessagePrefixes TextMessagePrefixes

Gets a list of the text message prefixes for an SMS message that matches this filter.

public : IVector<string> TextMessagePrefixes { get; }public IList<string> TextMessagePrefixes { get; }Public ReadOnly Property TextMessagePrefixes As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

List of text message prefixes.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

WapApplicationIds WapApplicationIds WapApplicationIds WapApplicationIds

Gets a list of WAP application identifiers for the SMS message that matches this rule.

public : IVector<string> WapApplicationIds { get; }public IList<string> WapApplicationIds { get; }Public ReadOnly Property WapApplicationIds As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

List of WAP application identifiers.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging

WapContentTypes WapContentTypes WapContentTypes WapContentTypes

Gets a list of WAP content types for the SMS message that matches this rule.

public : IVector<string> WapContentTypes { get; }public IList<string> WapContentTypes { get; }Public ReadOnly Property WapContentTypes As IList<string>// You can use this property in JavaScript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

List of WAP content types.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging