GcmTemplateRegistrationDescription Constructors
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.
Overloads
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) |
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id |
GcmTemplateRegistrationDescription(String, String) |
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id and template for payload |
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(FcmTemplateRegistrationDescription)
Creates instance of GcmTemplateRegistrationDescription class from FcmTemplateRegistrationDescription object.
public GcmTemplateRegistrationDescription (Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription fcmTemplateRegistration);
new Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription : Microsoft.Azure.NotificationHubs.FcmTemplateRegistrationDescription -> Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription
Public Sub New (fcmTemplateRegistration As FcmTemplateRegistrationDescription)
Parameters
- fcmTemplateRegistration
- FcmTemplateRegistrationDescription
FcmTemplateRegistrationDescription object to create new GcmTemplateRegistrationDescription from.
Applies to
GcmTemplateRegistrationDescription(GcmTemplateRegistrationDescription)
Creates instance of GcmTemplateRegistrationDescription class by copying fields from the given instance
public GcmTemplateRegistrationDescription (Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription sourceRegistration);
new Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription : Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription -> Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription
Public Sub New (sourceRegistration As GcmTemplateRegistrationDescription)
Parameters
- sourceRegistration
- GcmTemplateRegistrationDescription
Another GcmTemplateRegistrationDescription instance fields values are copyed from
Applies to
GcmTemplateRegistrationDescription(String)
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id
public GcmTemplateRegistrationDescription (string gcmRegistrationId);
new Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription : string -> Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription
Public Sub New (gcmRegistrationId As String)
Parameters
- gcmRegistrationId
- String
Registration id obtained from the Google Cloud Messaging service
Applies to
GcmTemplateRegistrationDescription(String, String)
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id and template for payload
public GcmTemplateRegistrationDescription (string gcmRegistrationId, string jsonPayload);
new Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription : string * string -> Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription
Public Sub New (gcmRegistrationId As String, jsonPayload As String)
Parameters
- gcmRegistrationId
- String
Registration id obtained from the Google Cloud Messaging service
- jsonPayload
- String
Payload template
Applies to
GcmTemplateRegistrationDescription(String, String, IEnumerable<String>)
Creates instance of GcmTemplateRegistrationDescription class using given Google Cloud Messaging registration id, template for payload and collection of tags
public GcmTemplateRegistrationDescription (string gcmRegistrationId, string jsonPayload, System.Collections.Generic.IEnumerable<string> tags);
new Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription : string * string * seq<string> -> Microsoft.Azure.NotificationHubs.GcmTemplateRegistrationDescription
Public Sub New (gcmRegistrationId As String, jsonPayload As String, tags As IEnumerable(Of String))
Parameters
- gcmRegistrationId
- String
Registration id obtained from the Google Cloud Messaging service
- jsonPayload
- String
Payload template
- tags
- IEnumerable<String>
Collection of tags. Tags can be used for audience targeting purposes.
Applies to
Azure SDK for .NET