NotificationHubResource.DebugSendAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.