NotificationRegistration Class
The NotificationRegistration contains information for registering a device for push notifications through a notification hub.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Notifications
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.Mobile.Service.Notifications.NotificationRegistration
Syntax
public class NotificationRegistration
public ref class NotificationRegistration
type NotificationRegistration = class end
Public Class NotificationRegistration
Constructors
Name | Description | |
---|---|---|
NotificationRegistration() |
Properties
Name | Description | |
---|---|---|
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 M:TemplateBody. This field is required if M:TemplateBody is set. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.Mobile.Service.Notifications Namespace
Return to top