SmsMessageRegistration SmsMessageRegistration SmsMessageRegistration SmsMessageRegistration SmsMessageRegistration Class


Class used to represent registered message filters.


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

public : sealed class SmsMessageRegistration
struct winrt::Windows::Devices::Sms::SmsMessageRegistration
public sealed class SmsMessageRegistration
Public NotInheritable Class SmsMessageRegistration
// This class does not provide a public constructor.

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)
sms cellularMessaging


Your code does not instantiate this class directly. A newly-created instance of the class is returned by the SmsMessageRegistration.Register method, and you can retrieve a collection of instances representing existing registrations using the static SmsMessageRegistration.AllRegistrations property.


AllRegistrations AllRegistrations AllRegistrations AllRegistrations AllRegistrations

Static property that gets a list of currently registered message filters..

Id Id Id Id Id

Gets an identifier for this registered message filter.


Register(String, SmsFilterRules) Register(String, SmsFilterRules) Register(String, SmsFilterRules) Register(String, SmsFilterRules) Register(String, SmsFilterRules)

Registers a message filter.

Unregister() Unregister() Unregister() Unregister() Unregister()

Unregisters a previously-registered message filter. The filter will no longer be applied to incoming messages.


MessageReceived MessageReceived MessageReceived MessageReceived MessageReceived

Event signaled when a message has been received that meets the filter criteria set in a registered message filter.