Freigeben über


INotificationHubClient.CancelNotificationAsync Methode

Definition

Überlädt

CancelNotificationAsync(String)

Bricht die Benachrichtigung asynchron ab.

CancelNotificationAsync(String, CancellationToken)

Bricht die Benachrichtigung asynchron ab.

CancelNotificationAsync(String)

Bricht die Benachrichtigung asynchron ab.

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

Parameter

scheduledNotificationId
String

Der geplante Benachrichtigungsbezeichner.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Gilt für:

CancelNotificationAsync(String, CancellationToken)

Bricht die Benachrichtigung asynchron ab.

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

Parameter

scheduledNotificationId
String

Der geplante Benachrichtigungsbezeichner.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Gilt für: