Share via


Registration Class

Definition

RegistrationBase is used as the base class for common properties existing in all Registration types to define a target that is registered for notifications.

[Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)]
public class Registration
[<Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)>]
type Registration = class
Public Class Registration
Inheritance
Registration
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

Registration(String, IEnumerable<String>)

Common Registration constructor for common properties

Properties

Name

The name of the registration is stored locally with the registrationId

Platform

The platform's name for its push notifcation system.

PushHandle

The push handle used to address the device by the push notification service (Possibly nonunique)

RegistrationId

The registration id.

Tags

If specified, restricts the notifications that the registration will receive to only those that are annotated with one of the specified tags. Note that a tag with a comma in it will be split into two tags.

Methods

ShouldSerializeRegistrationId()

Internal--Helper method hinting to Json.Net that RegistrationId should not be serialized

Applies to