Partilhar via


NotificationHubResource.DebugSendAsync(BinaryData, CancellationToken) Método

Definição

testar enviar uma notificação por push

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend
  • IdNotificationHubs_DebugSend de operação
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))

Parâmetros

anyObject
BinaryData

Depurar parâmetros de envio.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a