NotificationRegistration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The NotificationRegistration contains information for registering a device for push notifications through a notification hub.
public class NotificationRegistration
type NotificationRegistration = class
Public Class NotificationRegistration
- Inheritance
-
NotificationRegistration
Constructors
NotificationRegistration() |
Properties
DeviceId |
A unique identifier specific for the given platform. For Windows Push Notification Services (WNS) or Microsoft Push Notification Service (MPNS) it is the Channel URI, for Apple Push Notification Service it is the Device Token, and for Google Cloud Messaging for Chrome it is the registration ID. |
Expiration |
A timestamp indicating the lifetime of the registration. |
Headers |
Additional HTTP headers sent to the Windows Push Notification Services or the Microsoft Push Notification Service at registration time. |
Platform |
The platform for this registration. The platform must be one of the following values: wns, mpns, apns, or gcm where wns stands for "Windows Push Notification Services", mpns is "Microsoft Push Notification Service", apns is "Apple Push Notification Service", and gcm is "Google Cloud Messaging for Chrome". |
RegistrationId |
The Notification Hub registration id for this registration. |
Tags |
A collection of tags to use for this notification hub. |
TemplateBody |
Template that allows a message to be mapped to a client-specific notification message. |
TemplateName |
Provides a name for the TemplateBody. This field is required if TemplateBody is set. |
Applies to
Azure SDK for .NET