Partager via


NotificationHubResource.DebugSendAsync(BinaryData, CancellationToken) Méthode

Définition

test envoyer une notification Push

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend
  • IdNotificationHubs_DebugSend d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>> DebugSendAsync (BinaryData anyObject = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DebugSendAsync : BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>>
override this.DebugSendAsync : BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>>
Public Overridable Function DebugSendAsync (Optional anyObject As BinaryData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubTestSendResult))

Paramètres

anyObject
BinaryData

Déboguer les paramètres d’envoi.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à