NotificationHubClient.CreateMpnsTemplateRegistrationAsync Method

Definition

Overloads

CreateMpnsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

CreateMpnsTemplateRegistrationAsync(String, String)

Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

CreateMpnsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription> CreateMpnsTemplateRegistrationAsync (string channelUri, string xmlTemplate, System.Collections.Generic.IEnumerable<string> tags);
Parameters
channelUri
String

The channel URI.

xmlTemplate
String

The XML template.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.

CreateMpnsTemplateRegistrationAsync(String, String)

Asynchronously creates MPNS template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription> CreateMpnsTemplateRegistrationAsync (string channelUri, string xmlTemplate);
Parameters
channelUri
String

The channel URI.

xmlTemplate
String

The XML template.

Returns

The task that completes the asynchronous operation.