NotificationHubClient.DeleteRegistrationsByChannelAsync Method

Definition

Overloads

DeleteRegistrationsByChannelAsync(String)

Asynchronously deletes the registrations by channel.

DeleteRegistrationsByChannelAsync(String, CancellationToken)

Asynchronously deletes the registrations by channel.

DeleteRegistrationsByChannelAsync(String)

Asynchronously deletes the registrations by channel.

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

Parameters

pnsHandle
String

The PNS handle.

Returns

Task

The task that completes the asynchronous operation.

Implements

Exceptions

Applies to

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
override this.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

Task

The task that completes the asynchronous operation.

Implements

Exceptions

Applies to