Share via


RegistrationDescription Class

Definition

Represents a registration description.

[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.FcmRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AppleRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AppleTemplateRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.BaiduRegistrationDescription))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.BaiduTemplateRegistrationDescription))]
public abstract class RegistrationDescription : Microsoft.Azure.NotificationHubs.Messaging.EntityDescription
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.FcmRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AppleRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AppleTemplateRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WindowsRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.BaiduRegistrationDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Azure.NotificationHubs.BaiduTemplateRegistrationDescription))>]
type RegistrationDescription = class
    inherit EntityDescription
Public MustInherit Class RegistrationDescription
Inherits EntityDescription
Inheritance
RegistrationDescription
Derived
Attributes

Constructors

RegistrationDescription(RegistrationDescription)

Initializes a new instance of the RegistrationDescription class.

Properties

ETag

Gets the ETag associated with this description.

ExpirationTime

Gets the expiration time of the registration.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
IsReadOnly

Indicate if the instance is read-only mode.

(Inherited from EntityDescription)
PnsHandle

Returns platform-specific Pns handle.

PushVariables

Gets or sets a dictionary of push variables associated with property bag.

RegistrationId

Gets or sets the registration ID.

Tags

Gets or sets a set of tags associated with the registration.

Methods

Deserialize(String)

Extracts the registration description from the serialized data.

Serialize()

Serializes the registration description.

TagCount(String)

Returns the total number of tags.

ThrowIfReadOnly()

Throw if the read only bool is set.

(Inherited from EntityDescription)
ValidateTags(String)

Validates the given tags.

Applies to