Partager via


NotificationHubClient.CreateWindowsTemplateRegistrationAsync Méthode

Définition

Surcharges

CreateWindowsTemplateRegistrationAsync(String, String)

Crée de manière asynchrone l’inscription de modèle Windows.

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Crée de manière asynchrone l’inscription de modèle Windows.

CreateWindowsTemplateRegistrationAsync(String, String, CancellationToken)

Crée de manière asynchrone l’inscription de modèle Windows.

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

Crée de manière asynchrone l’inscription de modèle Windows.

CreateWindowsTemplateRegistrationAsync(String, String)

Crée de manière asynchrone l’inscription de modèle 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)

Paramètres

channelUri
String

URI du canal.

xmlTemplate
String

Modèle XML.

Retours

Tâche effectuant l'opération asynchrone.

Implémente

S’applique à

CreateWindowsTemplateRegistrationAsync(String, String, IEnumerable<String>)

Crée de manière asynchrone l’inscription de modèle 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)

Paramètres

channelUri
String

URI du canal.

xmlTemplate
String

Modèle XML.

tags
IEnumerable<String>

Balises.

Retours

Tâche effectuant l'opération asynchrone.

Implémente

S’applique à

CreateWindowsTemplateRegistrationAsync(String, String, CancellationToken)

Crée de manière asynchrone l’inscription de modèle 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)

Paramètres

channelUri
String

URI du canal.

xmlTemplate
String

Modèle XML.

cancellationToken
CancellationToken

CancellationToken à observer en attendant qu'une tâche se termine.

Retours

Tâche effectuant l'opération asynchrone.

Implémente

S’applique à

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

Crée de manière asynchrone l’inscription de modèle 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)

Paramètres

channelUri
String

URI du canal.

xmlTemplate
String

Modèle XML.

tags
IEnumerable<String>

Balises.

cancellationToken
CancellationToken

CancellationToken à observer en attendant qu'une tâche se termine.

Retours

Tâche effectuant l'opération asynchrone.

Implémente

S’applique à