Udostępnij za pośrednictwem


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);
abstract member CreateMpnsTemplateRegistrationAsync : string * string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription>
override 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
String

The channel URI.

xmlTemplate
String

The XML template.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

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);
abstract member CreateMpnsTemplateRegistrationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.MpnsTemplateRegistrationDescription>
override 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
String

The channel URI.

xmlTemplate
String

The XML template.

Returns

The task that completes the asynchronous operation.

Implements

Applies to