共用方式為


Sending raw notifications (XAML)

Note  Not using C#/VB/C++? See Sending raw notifications (HTML).

 

You can use raw notifications, a type of push notification, to send short messages from your app's cloud service to an app through Windows Push Notification Services (WNS). Unlike the XML payload of other push notification types (tile, toast, badge), the payload contained in a raw notification is strictly app-defined, and is not used to convey UI data.

These topics assume that you have a working knowledge of push notification concepts and terminology.

In this section

Topic Description

Quickstart: Creating a raw notification background task

You can create and register a background task function for your Windows Store app. This code then runs in response to the receipt of a raw notification, which gives your app functionality when it is not in the foreground.

 

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

RawNotification class