NotificationHubClient.CreateMpnsTemplateRegistrationAsync Method

Definition

Overloads

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.

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);
member this.CreateMpnsTemplateRegistrationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription>
Public Function CreateMpnsTemplateRegistrationAsync (channelUri As String, xmlTemplate As String) As Task(Of MpnsTemplateRegistrationDescription)

Parameters

channelUri
System.String

The channel URI.

xmlTemplate
System.String

The XML template.

Returns

System.Threading.Tasks.Task<MpnsTemplateRegistrationDescription>

The task that completes the asynchronous operation.

Applies to

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);
member this.CreateMpnsTemplateRegistrationAsync : string * string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription>
Public Function CreateMpnsTemplateRegistrationAsync (channelUri As String, xmlTemplate As String, tags As IEnumerable(Of String)) As Task(Of MpnsTemplateRegistrationDescription)

Parameters

channelUri
System.String

The channel URI.

xmlTemplate
System.String

The XML template.

tags
System.Collections.Generic.IEnumerable<System.String>

The tags.

Returns

System.Threading.Tasks.Task<MpnsTemplateRegistrationDescription>

The task that completes the asynchronous operation.

Applies to