SmsFilterRules
SmsFilterRules
SmsFilterRules
SmsFilterRules
Class
Definition
A collection of SmsFilterRule instances.
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 SmsFilterRules : ISmsFilterRulespublic sealed class SmsFilterRules : ISmsFilterRulesPublic NotInheritable Class SmsFilterRules Implements ISmsFilterRules// You can use this class in JavaScript.
- Attributes
| 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
SmsFilterRules(SmsFilterActionType) SmsFilterRules(SmsFilterActionType) SmsFilterRules(SmsFilterActionType) SmsFilterRules(SmsFilterActionType)
Creates an instance of SmsFilterRules.
public : SmsFilterRules(SmsFilterActionType actionType)public SmsFilterRules(SmsFilterActionType actionType)Public Sub New(actionType As SmsFilterActionType)// You can use this method in JavaScript.
An enumeration value that specifies which action type is to be associated with the rules for this instance. Action type determines the order in which rules are evaluated, as well as the action to be taken when a rule is matched.
| 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
ActionType ActionType ActionType ActionType
The SmsFilterActionType for this set of filter rules.
public : SmsFilterActionType ActionType { get; }public SmsFilterActionType ActionType { get; }Public ReadOnly Property ActionType As SmsFilterActionType// You can use this property in JavaScript.
Specifies when and how the set of rules in this SmsFilterRules collection are to be applied to incoming SMS messages.
| 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
|
Rules Rules Rules Rules
Gets the list of rules in this SmsFilterRules instance.
public : IVector<SmsFilterRule> Rules { get; }public IList<SmsFilterRule> Rules { get; }Public ReadOnly Property Rules As IList<SmsFilterRule>// You can use this property in JavaScript.
- Value
- IVector<SmsFilterRule> IList<SmsFilterRule> IList<SmsFilterRule> IList<SmsFilterRule>
A list of SMS filter rules.
| 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
|