SmsFilterRules 类

定义

SmsFilterRule 实例的集合。

注意

此功能仅适用于由移动网络运营商、移动宽带适配器 IHV 或 OEM 授予特权访问权限的移动运营商应用和 UWP 应用。 有关详细信息,请参阅 移动宽带

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
继承
Object Platform::Object IInspectable SmsFilterRules
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
cellularMessaging sms

构造函数

SmsFilterRules(SmsFilterActionType)

创建 SmsFilterRules 的实例。

属性

ActionType

此筛选器规则集的 SmsFilterActionType

Rules

获取此 SmsFilterRules 实例中的规则列表。

适用于