INotificationHubClient.DeleteRegistrationsByChannelAsync 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.
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
pnsHandle
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
pnsHandle