NetworkOperatorNotificationEventDetails.RuleId 屬性

定義

取得符合並觸發通知之布建規則的識別碼。

注意

這項功能僅適用于行動電信業者應用程式,以及行動網路操作員提供特殊許可權存取的 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則需要特殊核准。 如需詳細資訊,請參閱應用程式功能宣告主題中的受限制功能一節。

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

屬性值

String

Platform::String

winrt::hstring

布建的規則識別碼。

Windows 需求

應用程式功能
cellularDeviceControl cellularDeviceIdentity

適用於