Share via


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
System_CAPS_pubmethod NotificationRegistration()

Properties

Name Description
System_CAPS_pubproperty 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.

System_CAPS_pubproperty Expiration

A timestamp indicating the lifetime of the registration.

System_CAPS_pubproperty Headers

Additional HTTP headers sent to the Windows Push Notification Services or the Microsoft Push Notification Service at registration time.

System_CAPS_pubproperty 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".

System_CAPS_pubproperty RegistrationId

The Notification Hub registration id for this registration.

System_CAPS_pubproperty Tags

A collection of tags to use for this notification hub.

System_CAPS_pubproperty TemplateBody

Template that allows a message to be mapped to a client-specific notification message.

System_CAPS_pubproperty TemplateName

Provides a name for the M:TemplateBody. This field is required if M:TemplateBody is set.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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