GcmTemplateRegistrationDescription Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
GcmTemplateRegistrationDescription is deprecated, please use FcmTemplateRegistrationDescription instead.
Represents Notification Hub template registration description for Google Cloud Messaging
[System.Obsolete("GcmTemplateRegistrationDescription is deprecated, please use FcmTemplateRegistrationDescription instead.")]
[System.Runtime.Serialization.DataContract(Name="GcmTemplateRegistrationDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class GcmTemplateRegistrationDescription : Microsoft.Azure.NotificationHubs.GcmRegistrationDescription
[<System.Obsolete("GcmTemplateRegistrationDescription is deprecated, please use FcmTemplateRegistrationDescription instead.")>]
[<System.Runtime.Serialization.DataContract(Name="GcmTemplateRegistrationDescription", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type GcmTemplateRegistrationDescription = class
inherit GcmRegistrationDescription
Public Class GcmTemplateRegistrationDescription
Inherits GcmRegistrationDescription
- Inheritance
-
GcmTemplateRegistrationDescription
- Attributes
Constructors
GcmTemplateRegistrationDescription(FcmTemplateRegistrationDescription) |
Creates instance of GcmTemplateRegistrationDescription class from FcmTemplateRegistrationDescription object. |
GcmTemplateRegistrationDescription(GcmTemplateRegistrationDescription) |
Creates instance of GcmTemplateRegistrationDescription class by copying fields from the given instance |
GcmTemplateRegistrationDescription(String, String, IEnumerable<String>) |
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id, template for payload and collection of tags |
GcmTemplateRegistrationDescription(String, String) |
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id and template for payload |
GcmTemplateRegistrationDescription(String) |
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id |
Properties
BodyTemplate |
Gets or sets a template body for notification payload which may contain placeholders to be filled in with actual data during the send operation |
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 (Inherited from GcmRegistrationDescription) |
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) |
TemplateName |
Gets or sets a name of the template |
Methods
Serialize() |
Serializes the registration description. (Inherited from RegistrationDescription) |
ThrowIfReadOnly() |
Throw if the read only bool is set. (Inherited from EntityDescription) |