NotificationHubClient.CreateWindowsTemplateRegistrationAsync Method

Definition

Overloads

CreateWindowsTemplateRegistrationAsync(String, String)

Asynchronously creates Windows template registration.

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Asynchronously creates Windows template registration.

CreateWindowsTemplateRegistrationAsync(String, String, CancellationToken)

Asynchronously creates Windows template registration.

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>, CancellationToken)

Asynchronously creates Windows template registration.

CreateWindowsTemplateRegistrationAsync(String, String)

Asynchronously creates Windows template registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription> CreateWindowsTemplateRegistrationAsync (string channelUri, string xmlTemplate);
abstract member CreateWindowsTemplateRegistrationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
override this.CreateWindowsTemplateRegistrationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
Public Function CreateWindowsTemplateRegistrationAsync (channelUri As String, xmlTemplate As String) As Task(Of WindowsTemplateRegistrationDescription)

Parameters

channelUri
String

The channel URI.

xmlTemplate
String

The XML template.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Asynchronously creates Windows template registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription> CreateWindowsTemplateRegistrationAsync (string channelUri, string xmlTemplate, System.Collections.Generic.IEnumerable<string> tags);
abstract member CreateWindowsTemplateRegistrationAsync : string * string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
override this.CreateWindowsTemplateRegistrationAsync : string * string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
Public Function CreateWindowsTemplateRegistrationAsync (channelUri As String, xmlTemplate As String, tags As IEnumerable(Of String)) As Task(Of WindowsTemplateRegistrationDescription)

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

CreateWindowsTemplateRegistrationAsync(String, String, CancellationToken)

Asynchronously creates Windows template registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription> CreateWindowsTemplateRegistrationAsync (string channelUri, string xmlTemplate, System.Threading.CancellationToken cancellationToken);
abstract member CreateWindowsTemplateRegistrationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
override this.CreateWindowsTemplateRegistrationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
Public Function CreateWindowsTemplateRegistrationAsync (channelUri As String, xmlTemplate As String, cancellationToken As CancellationToken) As Task(Of WindowsTemplateRegistrationDescription)

Parameters

channelUri
String

The channel URI.

xmlTemplate
String

The XML template.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>, CancellationToken)

Asynchronously creates Windows template registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription> CreateWindowsTemplateRegistrationAsync (string channelUri, string xmlTemplate, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member CreateWindowsTemplateRegistrationAsync : string * string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
override this.CreateWindowsTemplateRegistrationAsync : string * string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.WindowsTemplateRegistrationDescription>
Public Function CreateWindowsTemplateRegistrationAsync (channelUri As String, xmlTemplate As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of WindowsTemplateRegistrationDescription)

Parameters

channelUri
String

The channel URI.

xmlTemplate
String

The XML template.

tags
IEnumerable<String>

The tags.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Implements

Applies to