SALES: 1-800-867-1380

NotificationHub.RegisterTemplateAsync Method (String, String, String, IEnumerable<String>)

Updated: August 8, 2013

Asynchronously creates a new (or updates an existing) template registration.

Namespace:  Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

public Task<TemplateRegistration> RegisterTemplateAsync(
	string channelUri,
	string xmlTemplate,
	string templateName,
	IEnumerable<string> tags
)

Parameters

channelUri
Type: System.String
The channel URI.
xmlTemplate
Type: System.String
The xml template.
templateName
Type: System.String
The template name.
tags
Type: System.Collections.Generic.IEnumerable<String>
The tags.

Return Value

Type: System.Threading.Tasks.Task<TemplateRegistration>
The task that performs the registration.

Devices registered in this way can only receive notifications sent in template format.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft