NetworkOperatorNotificationEventDetails class

Applies to Windows only

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


public ref class NetworkOperatorNotificationEventDetails sealed 

Attributes

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

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

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

 

 

Show:
© 2014 Microsoft