Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkOperatorNotificationEventDetails class

Provides details for a network operator notification.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators. For more information, see Mobile Broadband: Windows Store device apps.
 

Syntax


var networkOperatorNotificationEventDetails = new NetworkOperatorNotificationEventDetails();

Members

The NetworkOperatorNotificationEventDetails class has these types of members:

Methods

The NetworkOperatorNotificationEventDetails class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
AuthorizeTethering Used to indicate if tethering is permitted for a device. If it is not, a reason can be provided.

 

Properties

The NetworkOperatorNotificationEventDetails class has these properties.

PropertyAccess typeDescription

EncodingType

Read-onlyGets the data-coding scheme (DCS) of the received message.

Message

Read-onlyGets the message for the network operator notification.

NetworkAccountId

Read-onlyGets a unique identifier for the mobile broadband account that received the notification.

NotificationType

Read-onlyGets the type of the network notification.

RuleId

Read-onlyGets the identifier of the provisioned rule that matched and triggered the notification.

SmsMessage

Read-onlyGets an SMS message for the mobile broadband account that received the notification.

 

Remarks

The operating system extends battery life by suspending applications that are not in the foreground. If your application must handle new custom network operator messages even while suspended, you must create a background work item to handle the messages. When a new operator message arrives, the background work item will be activated. The NetworkOperatorNotificationEventDetails class provides the details of the event to your background work item code.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract, introduced version 1.0

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2015 Microsoft