Freigeben über


NotificationHubResource.DebugSendAsync(BinaryData, CancellationToken) Methode

Definition

Testen des Sendens einer Pushbenachrichtigung

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend
  • Vorgangs-IdNotificationHubs_DebugSend
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))

Parameter

anyObject
BinaryData

Debuggen von Sendeparametern.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: