Freigeben über


INotificationHubClient.SendBaiduNativeNotificationAsync Methode

Definition

Überlädt

SendBaiduNativeNotificationAsync(String, String, CancellationToken)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

SendBaiduNativeNotificationAsync(String, CancellationToken)

Sendet eine native Baidu-Benachrichtigung.

SendBaiduNativeNotificationAsync(String, IEnumerable<String>, CancellationToken)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

SendBaiduNativeNotificationAsync(String, IEnumerable<String>)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

SendBaiduNativeNotificationAsync(String)

Sendet eine native Baidu-Benachrichtigung.

SendBaiduNativeNotificationAsync(String, String)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

SendBaiduNativeNotificationAsync(String, String, CancellationToken)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendBaiduNativeNotificationAsync (string message, string tagExpression, System.Threading.CancellationToken cancellationToken);
abstract member SendBaiduNativeNotificationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendBaiduNativeNotificationAsync (message As String, tagExpression As String, cancellationToken As CancellationToken) As Task(Of NotificationOutcome)

Parameter

message
String

Dies ist eine JSON-Anforderung. Baidu dokumentiert hier das Format für den JSON-Code.

tagExpression
String

Ein Tagausdruck ist ein boolescher Ausdruck, der mit den logischen Operatoren AND (&&), OR (||), NOT (!) und runden Klammern erstellt wird. Beispiel: (A || B) && !C. Wenn ein Ausdruck nur ORs verwendet, kann er höchstens 20 Tags enthalten. Andere Ausdrücke sind auf 6 Tags beschränkt. Beachten Sie, dass ein einzelnes Tag "A" ein gültiger Ausdruck ist.

cancellationToken
CancellationToken

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

Gibt zurück

NotificationOutcome , der das Ergebnis des Sendevorgangs beschreibt.

Gilt für:

SendBaiduNativeNotificationAsync(String, CancellationToken)

Sendet eine native Baidu-Benachrichtigung.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendBaiduNativeNotificationAsync (string message, System.Threading.CancellationToken cancellationToken);
abstract member SendBaiduNativeNotificationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendBaiduNativeNotificationAsync (message As String, cancellationToken As CancellationToken) As Task(Of NotificationOutcome)

Parameter

message
String

Dies ist eine JSON-Anforderung. Baidu dokumentiert hier das Format für den JSON-Code.

cancellationToken
CancellationToken

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

Gibt zurück

NotificationOutcome , der das Ergebnis des Sendevorgangs beschreibt.

Gilt für:

SendBaiduNativeNotificationAsync(String, IEnumerable<String>, CancellationToken)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendBaiduNativeNotificationAsync (string message, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member SendBaiduNativeNotificationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendBaiduNativeNotificationAsync (message As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of NotificationOutcome)

Parameter

message
String

Dies ist eine JSON-Anforderung. Baidu dokumentiert hier das Format für den JSON-Code.

tags
IEnumerable<String>

Ein nicht leerer Satz von Tags (maximal 20 Tags). Jede Zeichenfolge im Satz kann ein einzelnes Tag enthalten.

cancellationToken
CancellationToken

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

Gibt zurück

NotificationOutcome , der das Ergebnis des Sendevorgangs beschreibt.

Gilt für:

SendBaiduNativeNotificationAsync(String, IEnumerable<String>)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendBaiduNativeNotificationAsync (string message, System.Collections.Generic.IEnumerable<string> tags);
abstract member SendBaiduNativeNotificationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendBaiduNativeNotificationAsync (message As String, tags As IEnumerable(Of String)) As Task(Of NotificationOutcome)

Parameter

message
String

Dies ist eine JSON-Anforderung. Baidu dokumentiert hier das Format für den JSON-Code.

tags
IEnumerable<String>

Ein nicht leerer Satz von Tags (maximal 20 Tags). Jede Zeichenfolge im Satz kann ein einzelnes Tag enthalten.

Gibt zurück

NotificationOutcome , der das Ergebnis des Sendevorgangs beschreibt.

Gilt für:

SendBaiduNativeNotificationAsync(String)

Sendet eine native Baidu-Benachrichtigung.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendBaiduNativeNotificationAsync (string message);
abstract member SendBaiduNativeNotificationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendBaiduNativeNotificationAsync (message As String) As Task(Of NotificationOutcome)

Parameter

message
String

Dies ist eine JSON-Anforderung. Baidu dokumentiert hier das Format für den JSON-Code.

Gibt zurück

NotificationOutcome , der das Ergebnis des Sendevorgangs beschreibt.

Gilt für:

SendBaiduNativeNotificationAsync(String, String)

Sendet eine native Baidu-Benachrichtigung an einen Tagausdruck (ein einzelner Tag "Tag" ist ein gültiger Tagausdruck).

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendBaiduNativeNotificationAsync (string message, string tagExpression);
abstract member SendBaiduNativeNotificationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendBaiduNativeNotificationAsync (message As String, tagExpression As String) As Task(Of NotificationOutcome)

Parameter

message
String

Dies ist eine JSON-Anforderung. Baidu dokumentiert hier das Format für den JSON-Code.

tagExpression
String

Ein Tagausdruck ist ein boolescher Ausdruck, der mit den logischen Operatoren AND (&&), OR (||), NOT (!) und runden Klammern erstellt wird. Beispiel: (A || B) && !C. Wenn ein Ausdruck nur ORs verwendet, kann er höchstens 20 Tags enthalten. Andere Ausdrücke sind auf 6 Tags beschränkt. Beachten Sie, dass ein einzelnes Tag "A" ein gültiger Ausdruck ist.

Gibt zurück

NotificationOutcome , der das Ergebnis des Sendevorgangs beschreibt.

Gilt für: