Share via


GcmRegistrationDescription Class

Definition

Caution

GcmRegistrationDescription is deprecated, please use FcmRegistrationDescription instead.

Represents Notification Hub registration description for Google Cloud Messaging

[System.Obsolete("GcmRegistrationDescription is deprecated, please use FcmRegistrationDescription instead.")]
[System.Runtime.Serialization.DataContract(Name="GcmRegistrationDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class GcmRegistrationDescription : Microsoft.Azure.NotificationHubs.RegistrationDescription
[<System.Obsolete("GcmRegistrationDescription is deprecated, please use FcmRegistrationDescription instead.")>]
[<System.Runtime.Serialization.DataContract(Name="GcmRegistrationDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type GcmRegistrationDescription = class
    inherit RegistrationDescription
Public Class GcmRegistrationDescription
Inherits RegistrationDescription
Inheritance
GcmRegistrationDescription
Derived
Attributes

Constructors

GcmRegistrationDescription(FcmRegistrationDescription)

Creates an instance of GcmRegistrationDescription class from FcmRegistrationDescription object.

GcmRegistrationDescription(GcmRegistrationDescription)

Creates instance of GcmRegistrationDescription class by copying fields from the given instance

GcmRegistrationDescription(String, IEnumerable<String>)

Creates instance of GcmRegistrationDescription class using given Google Cloud Messaging registration id and collection of tags

GcmRegistrationDescription(String)

Creates instance of GcmRegistrationDescription class using given Google Cloud Messaging registration id

Properties

ETag

Gets the ETag associated with this description.

(Inherited from RegistrationDescription)
ExpirationTime

Gets the expiration time of the registration.

(Inherited from RegistrationDescription)
ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from EntityDescription)
GcmRegistrationId

Registration id obtained from the Google Cloud Messaging service

IsReadOnly

Indicate if the instance is read-only mode.

(Inherited from EntityDescription)
PnsHandle

Returns platform-specific Pns handle.

(Inherited from RegistrationDescription)
PushVariables

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

(Inherited from RegistrationDescription)
RegistrationId

Gets or sets the registration ID.

(Inherited from RegistrationDescription)
Tags

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

(Inherited from RegistrationDescription)

Methods

Serialize()

Serializes the registration description.

(Inherited from RegistrationDescription)
ThrowIfReadOnly()

Throw if the read only bool is set.

(Inherited from EntityDescription)

Applies to