共用方式為


NotificationHubResource.DebugSend(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 Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult> DebugSend (System.Threading.CancellationToken cancellationToken = default);
abstract member DebugSend : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>
override this.DebugSend : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubTestSendResult>
Public Overridable Function DebugSend (Optional cancellationToken As CancellationToken = Nothing) As Response(Of NotificationHubTestSendResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to