NetworkOperatorNotificationTrigger NetworkOperatorNotificationTrigger NetworkOperatorNotificationTrigger NetworkOperatorNotificationTrigger NetworkOperatorNotificationTrigger Class

Definition

Represents a mobile network operator notification trigger.

public : sealed class NetworkOperatorNotificationTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::NetworkOperatorNotificationTrigger : IBackgroundTrigger
public sealed class NetworkOperatorNotificationTrigger : IBackgroundTrigger
Public NotInheritable Class NetworkOperatorNotificationTrigger Implements IBackgroundTrigger
var networkOperatorNotificationTrigger = new networkOperatorNotificationTrigger(networkAccountId);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

In preference to using NetworkOperatorNotificationTrigger and handling a DataPlanThresholdReached value for NetworkOperatorEventMessageType, you should use NetworkOperatorDataUsageTrigger. You can register NetworkOperatorDataUsageTrigger by using standard background trigger idioms.

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Constructors

NetworkOperatorNotificationTrigger(String) NetworkOperatorNotificationTrigger(String) NetworkOperatorNotificationTrigger(String) NetworkOperatorNotificationTrigger(String) NetworkOperatorNotificationTrigger(String)

Initializes a new instance of a mobile network operator notification.

Properties

NetworkAccountId NetworkAccountId NetworkAccountId NetworkAccountId NetworkAccountId

Gets the account identifier for the mobile network operator notification trigger.

See also