TemplateRegistration Class
Registration is used to define a target that is registered for notifications. A TemplateRegistration allows the client application to define the format of the registration.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.Mobile.Ext (in Microsoft.WindowsAzure.Mobile.Ext.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.MobileServices.Registration
Microsoft.WindowsAzure.MobileServices.TemplateRegistration
Syntax
[JsonObjectAttribute]
public sealed class TemplateRegistration : Registration
[JsonObjectAttribute]
public ref class TemplateRegistration sealed : Registration
[<Sealed>]
[<JsonObjectAttribute>]
type TemplateRegistration =
class
inherit Registration
end
<JsonObjectAttribute>
Public NotInheritable Class TemplateRegistration
Inherits Registration
Constructors
Name | Description | |
---|---|---|
TemplateRegistration(String, String, String) | Create a TemplateRegistration |
|
TemplateRegistration(String, String, String, IEnumerable<String>) | Create a TemplateRegistration |
|
TemplateRegistration(String, String, String, IEnumerable<String>, IEnumerable<KeyValuePair<String, String>>) | Create a TemplateRegistration |
Properties
Name | Description | |
---|---|---|
BodyTemplate | Gets bodyTemplate as string |
|
ChannelUri | The Uri of the Channel returned by the Push Notification Channel Manager.(Inherited from Registration.) |
|
RegistrationId | The registration id.(Inherited from Registration.) |
|
Tags | If specified, restricts the notifications that the registration will receive to only those that are annotated with one of the specified tags. Note that a tag with a comma in it will be split into two tags.(Inherited from Registration.) |
|
TemplateName | Get templateName |
|
WnsHeaders | Gets headers that should be sent to WNS with the notification |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.MobileServices Namespace
Return to top