Share via


INotificationHubClient.DeleteRegistrationsByChannelAsync Method

Definition

Overloads

DeleteRegistrationsByChannelAsync(String, CancellationToken)

Asynchronously deletes the registrations by channel.

DeleteRegistrationsByChannelAsync(String)

Asynchronously deletes the registrations by channel.

DeleteRegistrationsByChannelAsync(String, CancellationToken)

Asynchronously deletes the registrations by channel.

public System.Threading.Tasks.Task DeleteRegistrationsByChannelAsync (string pnsHandle, System.Threading.CancellationToken cancellationToken);
abstract member DeleteRegistrationsByChannelAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteRegistrationsByChannelAsync (pnsHandle As String, cancellationToken As CancellationToken) As Task

Parameters

pnsHandle
String

The PNS handle.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Exceptions

Applies to

DeleteRegistrationsByChannelAsync(String)

Asynchronously deletes the registrations by channel.

public System.Threading.Tasks.Task DeleteRegistrationsByChannelAsync (string pnsHandle);
abstract member DeleteRegistrationsByChannelAsync : string -> System.Threading.Tasks.Task
Public Function DeleteRegistrationsByChannelAsync (pnsHandle As String) As Task

Parameters

pnsHandle
String

The PNS handle.

Returns

The task that completes the asynchronous operation.

Exceptions

Applies to