NotificationHubClient.SendAppleNativeNotificationAsync メソッド

定義

オーバーロード

SendAppleNativeNotificationAsync(String)

Apple ネイティブ通知を送信します。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendAppleNativeNotificationAsync(String, IEnumerable<String>)

Apple ネイティブ通知を、空でないタグのセット (最大 20) に非同期的に送信します。 これは、ブール型の OR ("||") でタグ付けされた式と同じです。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendAppleNativeNotificationAsync(String, String)

Apple ネイティブ通知をタグ式に非同期的に送信します (1 つのタグ "tag" は有効なタグ式です)。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendAppleNativeNotificationAsync(String, CancellationToken)

Apple ネイティブ通知を送信します。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendAppleNativeNotificationAsync(String, IEnumerable<String>, CancellationToken)

Apple ネイティブ通知を、空でないタグのセット (最大 20) に非同期的に送信します。 これは、ブール型の OR ("||") でタグ付けされた式と同じです。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendAppleNativeNotificationAsync(String, String, CancellationToken)

Apple ネイティブ通知をタグ式に非同期的に送信します (1 つのタグ "tag" は有効なタグ式です)。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendAppleNativeNotificationAsync(String)

Apple ネイティブ通知を送信します。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

jsonPayload
String

これは、有効な Apple プッシュ通知サービス (APNS) ペイロードです。 APNS ペイロードに関するドキュメントについては、 こちらを参照してください

戻り値

NotificationOutcome 送信操作の結果を記述します。

実装

適用対象

SendAppleNativeNotificationAsync(String, IEnumerable<String>)

Apple ネイティブ通知を、空でないタグのセット (最大 20) に非同期的に送信します。 これは、ブール型の OR ("||") でタグ付けされた式と同じです。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

jsonPayload
String

これは、有効な Apple プッシュ通知サービス (APNS) ペイロードです。 APNS ペイロードに関するドキュメントについては、 こちらを参照してください

tags
IEnumerable<String>

空でないタグのセット (最大 20 個のタグ)。 セット内の各文字列には、1 つのタグを含めることができます。

戻り値

NotificationOutcome 送信操作の結果を記述します。

実装

適用対象

SendAppleNativeNotificationAsync(String, String)

Apple ネイティブ通知をタグ式に非同期的に送信します (1 つのタグ "tag" は有効なタグ式です)。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

jsonPayload
String

これは、有効な Apple プッシュ通知サービス (APNS) ペイロードです。 APNS ペイロードに関するドキュメントについては、 こちらを参照してください

tagExpression
String

タグ式は、論理演算子 AND ()、OR (&&||)、NOT (!)、丸かっこを使用して構築されたブール式です。 例: (A ||B) && !C. 式で使用される OR の場合、最大 20 個のタグを含めることができます。 その他の式は 6 つのタグに制限されています。 1 つのタグ "A" は有効な式であることに注意してください。

戻り値

NotificationOutcome 送信操作の結果を記述します。

実装

適用対象

SendAppleNativeNotificationAsync(String, CancellationToken)

Apple ネイティブ通知を送信します。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

jsonPayload
String

これは、有効な Apple プッシュ通知サービス (APNS) ペイロードです。 APNS ペイロードに関するドキュメントについては、 こちらを参照してください

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

NotificationOutcome 送信操作の結果を記述します。

実装

適用対象

SendAppleNativeNotificationAsync(String, IEnumerable<String>, CancellationToken)

Apple ネイティブ通知を、空でないタグのセット (最大 20) に非同期的に送信します。 これは、ブール型の OR ("||") でタグ付けされた式と同じです。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

jsonPayload
String

これは、有効な Apple プッシュ通知サービス (APNS) ペイロードです。 APNS ペイロードに関するドキュメントについては、 こちらを参照してください

tags
IEnumerable<String>

空でないタグのセット (最大 20 個のタグ)。 セット内の各文字列には、1 つのタグを含めることができます。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

NotificationOutcome 送信操作の結果を記述します。

実装

適用対象

SendAppleNativeNotificationAsync(String, String, CancellationToken)

Apple ネイティブ通知をタグ式に非同期的に送信します (1 つのタグ "tag" は有効なタグ式です)。 有効期限を指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

jsonPayload
String

これは、有効な Apple プッシュ通知サービス (APNS) ペイロードです。 APNS ペイロードに関するドキュメントについては、 こちらを参照してください

tagExpression
String

タグ式は、論理演算子 AND ()、OR (&&||)、NOT (!)、丸かっこを使用して構築されたブール式です。 例: (A ||B) && !C. 式で使用される OR の場合、最大 20 個のタグを含めることができます。 その他の式は 6 つのタグに制限されています。 1 つのタグ "A" は有効な式であることに注意してください。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

NotificationOutcome 送信操作の結果を記述します。

実装

適用対象