Share via


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
System_CAPS_pubmethod TemplateRegistration(String, String, String)

Create a TemplateRegistration

System_CAPS_pubmethod TemplateRegistration(String, String, String, IEnumerable<String>)

Create a TemplateRegistration

System_CAPS_pubmethod TemplateRegistration(String, String, String, IEnumerable<String>, IEnumerable<KeyValuePair<String, String>>)

Create a TemplateRegistration

Properties

Name Description
System_CAPS_pubproperty BodyTemplate

Gets bodyTemplate as string

System_CAPS_pubproperty ChannelUri

The Uri of the Channel returned by the Push Notification Channel Manager.(Inherited from Registration.)

System_CAPS_pubproperty RegistrationId

The registration id.(Inherited from Registration.)

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty TemplateName

Get templateName

System_CAPS_pubproperty WnsHeaders

Gets headers that should be sent to WNS with the notification

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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