Compartilhar via


NotificationHubClient.CreateWindowsTemplateRegistrationAsync Método

Definição

Sobrecargas

CreateWindowsTemplateRegistrationAsync(String, String)

Cria de forma assíncrona o registro de modelo do Windows.

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Cria de forma assíncrona o registro de modelo do Windows.

CreateWindowsTemplateRegistrationAsync(String, String, CancellationToken)

Cria de forma assíncrona o registro de modelo do Windows.

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

Cria de forma assíncrona o registro de modelo do Windows.

CreateWindowsTemplateRegistrationAsync(String, String)

Cria de forma assíncrona o registro de modelo do Windows.

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)

Parâmetros

channelUri
String

O URI do canal.

xmlTemplate
String

O modelo XML.

Retornos

A tarefa que conclui a operação assíncrona.

Implementações

Aplica-se a

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Cria de forma assíncrona o registro de modelo do Windows.

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)

Parâmetros

channelUri
String

O URI do canal.

xmlTemplate
String

O modelo XML.

tags
IEnumerable<String>

As marcas.

Retornos

A tarefa que conclui a operação assíncrona.

Implementações

Aplica-se a

CreateWindowsTemplateRegistrationAsync(String, String, CancellationToken)

Cria de forma assíncrona o registro de modelo do Windows.

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)

Parâmetros

channelUri
String

O URI do canal.

xmlTemplate
String

O modelo XML.

cancellationToken
CancellationToken

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

A tarefa que conclui a operação assíncrona.

Implementações

Aplica-se a

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

Cria de forma assíncrona o registro de modelo do Windows.

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)

Parâmetros

channelUri
String

O URI do canal.

xmlTemplate
String

O modelo XML.

tags
IEnumerable<String>

As marcas.

cancellationToken
CancellationToken

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

A tarefa que conclui a operação assíncrona.

Implementações

Aplica-se a