Dela via


NetworkOperatorNotificationEventDetails.RuleId Property

Definition

Gets the identifier of the provisioned rule that matched and triggered the notification.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 property Platform::String ^ RuleId { Platform::String ^ get(); };
winrt::hstring RuleId();
public string RuleId { get; }
var string = networkOperatorNotificationEventDetails.ruleId;
Public ReadOnly Property RuleId As String

Property Value

String

Platform::String

winrt::hstring

The provisioned rule identifier.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to