Share via


NotificationHubResource.DebugSendAsync(CancellationToken) Method

Definition

Test send a push notification.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend
  • Operation Id: NotificationHubs_DebugSend
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>> DebugSendAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DebugSendAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>>
override this.DebugSendAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>>
Public Overridable Function DebugSendAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubTestSendResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to