共用方式為


SmsFilterRules 類別

定義

SmsFilterRule實例的集合。

注意

這項功能僅適用于行動電信業者應用程式和 UWP 應用程式,由行動網路操作員、行動寬頻介面卡 IHV 或 OEM 提供特殊許可權存取。 如需詳細資訊,請參閱 行動寬頻

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 實例中的規則清單。

適用於