SmsFilterRule 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class SmsFilterRule sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Sms.ISmsFilterRuleFactory, 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 SmsFilterRule 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.ISmsFilterRuleFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class SmsFilterRule final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Sms.ISmsFilterRuleFactory), 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 SmsFilterRule
[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.ISmsFilterRuleFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SmsFilterRule
function SmsFilterRule(messageType)
Public NotInheritable Class SmsFilterRule
- 继承
- 属性
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
|
构造函数
SmsFilterRule(SmsMessageType) |
创建新的空 SmsFilterRule。 |
属性
BroadcastChannels |
与此规则匹配的广播频道列表。 |
BroadcastTypes |
获取与此规则匹配的短信的广播类型列表。 |
CellularClass |
与此规则匹配的短信的手机网络类标识符。 |
DeviceIds |
获取与此规则匹配的短信的设备标识符列表。 |
ImsiPrefixes |
获取与此规则匹配的短信的 IMSI 前缀。 |
MessageType |
获取与此筛选规则匹配的短信的消息类型。 |
PortNumbers |
获取与此规则匹配的短信关联的端口号列表。 |
ProtocolIds |
获取与此规则匹配的短信关联的协议标识符列表。 |
SenderNumbers |
获取与此规则匹配的短信关联的发件人编号。 |
TeleserviceIds |
获取与此规则匹配的短信的远程服务标识符列表。 |
TextMessagePrefixes |
获取与此筛选器匹配的短信的短信前缀列表。 |
WapApplicationIds |
获取与此规则匹配的短信的 WAP 应用程序标识符列表。 |
WapContentTypes |
获取与此规则匹配的短信的 WAP 内容类型列表。 |