Partager via


RegistrationDescription Classe

Définition

Représente une description d’inscription.

[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
Héritage
RegistrationDescription
Dérivé
Attributs

Constructeurs

RegistrationDescription(RegistrationDescription)

Initialise une nouvelle instance de la classe RegistrationDescription.

Propriétés

ETag

Obtient l’ETag associé à cette description.

ExpirationTime

Obtient l’heure d’expiration de l’inscription.

ExtensionData

Obtient ou définit la structure qui contient des données supplémentaires.

(Hérité de EntityDescription)
IsReadOnly

Indique si le instance est en mode lecture seule.

(Hérité de EntityDescription)
PnsHandle

Retourne un handle Pns spécifique à la plateforme.

PushVariables

Obtient ou définit un dictionnaire de variables push associées au conteneur de propriétés.

RegistrationId

Obtient ou définit l’ID d’inscription.

Tags

Obtient ou définit un ensemble de balises associées à l’inscription.

Méthodes

Deserialize(String)

Extrait la description de l’inscription à partir des données sérialisées.

Serialize()

Sérialise la description de l’inscription.

TagCount(String)

Retourne le nombre total de balises.

ThrowIfReadOnly()

Lève si le bool en lecture seule est défini.

(Hérité de EntityDescription)
ValidateTags(String)

Valide les balises données.

S’applique à