Compartilhar via


NotificationHubClient.CancelNotificationAsync Método

Definição

Sobrecargas

CancelNotificationAsync(String)

Cancela a notificação de forma assíncrona.

CancelNotificationAsync(String, CancellationToken)

Cancela a notificação de forma assíncrona.

CancelNotificationAsync(String)

Cancela a notificação de forma assíncrona.

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

Parâmetros

scheduledNotificationId
String

O identificador de notificação agendado.

Retornos

Uma tarefa que representa a operação assíncrona.

Implementações

Aplica-se a

CancelNotificationAsync(String, CancellationToken)

Cancela a notificação de forma assíncrona.

public System.Threading.Tasks.Task CancelNotificationAsync (string scheduledNotificationId, System.Threading.CancellationToken cancellationToken);
abstract member CancelNotificationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CancelNotificationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CancelNotificationAsync (scheduledNotificationId As String, cancellationToken As CancellationToken) As Task

Parâmetros

scheduledNotificationId
String

O identificador de notificação agendado.

cancellationToken
CancellationToken

Um CancellationToken a ser observado ao aguardar a conclusão da tarefa.

Retornos

Uma tarefa que representa a operação assíncrona.

Implementações

Aplica-se a