Push.RegisterTemplateAsync Method (String, String, String)

 

Register a particular channelUri with a template

Namespace:   Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.Mobile.Ext (in Microsoft.WindowsAzure.Mobile.Ext.dll)

Syntax

public Task RegisterTemplateAsync(
    string channelUri,
    string xmlTemplate,
    string templateName
)
public:
Task^ RegisterTemplateAsync(
    String^ channelUri,
    String^ xmlTemplate,
    String^ templateName
)
member RegisterTemplateAsync : 
        channelUri:string *
        xmlTemplate:string *
        templateName:string -> Task
Public Function RegisterTemplateAsync (
    channelUri As String,
    xmlTemplate As String,
    templateName As String
) As Task

Parameters

  • xmlTemplate
    Type: System.String

    The string defining the template

Return Value

Type: System.Threading.Tasks.Task

Task that completes when registration is complete

See Also

RegisterTemplateAsync Overload
Push Class
Microsoft.WindowsAzure.MobileServices Namespace

Return to top