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.

RawNotification.Content | content property

Applies to Windows and Windows Phone

Gets the content of the raw notification as a string. This string specifies a background task associated with the app.

Syntax


var content = rawNotification.content;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string that contains the app-defined notification content, as set by the app server.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

RawNotification
Raw notifications sample
Raw notification overview
Guidelines and checklist for raw notifications
Quickstart: Creating and registering a raw notification background task
Quickstart: Intercepting push notifications for running apps

 

 

Show:
© 2014 Microsoft