你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

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

The task that completes the asynchronous operation.

Implements

Exceptions

Applies to