次の方法で共有


INotificationHubClient.SendMpnsNativeNotificationAsync メソッド

定義

オーバーロード

SendMpnsNativeNotificationAsync(String)

Microsoft プッシュ通知サービス (MPNS) のネイティブ通知を送信します。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendMpnsNativeNotificationAsync(String, IEnumerable<String>)

空でないタグのセット (最大 20) に Microsoft プッシュ通知サービス (MPNS) ネイティブ通知を送信します。 これは、ブール型の OR ("||") を持つタグ式と同じです。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendMpnsNativeNotificationAsync(String, String)

Microsoft プッシュ通知サービス (MPNS) ネイティブ通知をタグ式に送信します (1 つのタグ "tag" は有効なタグ式です)。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendMpnsNativeNotificationAsync(String, CancellationToken)

Microsoft プッシュ通知サービス (MPNS) のネイティブ通知を送信します。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendMpnsNativeNotificationAsync(String, IEnumerable<String>, CancellationToken)

空でないタグのセット (最大 20) に Microsoft プッシュ通知サービス (MPNS) ネイティブ通知を送信します。 これは、ブール型の OR ("||") を持つタグ式と同じです。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendMpnsNativeNotificationAsync(String, String, CancellationToken)

Microsoft プッシュ通知サービス (MPNS) ネイティブ通知をタグ式に送信します (1 つのタグ "tag" は有効なタグ式です)。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

SendMpnsNativeNotificationAsync(String)

Microsoft プッシュ通知サービス (MPNS) のネイティブ通知を送信します。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

nativePayload
String

ネイティブ ペイロード。

戻り値

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

適用対象

SendMpnsNativeNotificationAsync(String, IEnumerable<String>)

空でないタグのセット (最大 20) に Microsoft プッシュ通知サービス (MPNS) ネイティブ通知を送信します。 これは、ブール型の OR ("||") を持つタグ式と同じです。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

nativePayload
String

通知ペイロード。

tags
IEnumerable<String>

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

戻り値

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

適用対象

SendMpnsNativeNotificationAsync(String, String)

Microsoft プッシュ通知サービス (MPNS) ネイティブ通知をタグ式に送信します (1 つのタグ "tag" は有効なタグ式です)。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

nativePayload
String

ネイティブ ペイロード。

tagExpression
String

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

戻り値

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

適用対象

SendMpnsNativeNotificationAsync(String, CancellationToken)

Microsoft プッシュ通知サービス (MPNS) のネイティブ通知を送信します。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

nativePayload
String

ネイティブ ペイロード。

cancellationToken
CancellationToken

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

戻り値

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

適用対象

SendMpnsNativeNotificationAsync(String, IEnumerable<String>, CancellationToken)

空でないタグのセット (最大 20) に Microsoft プッシュ通知サービス (MPNS) ネイティブ通知を送信します。 これは、ブール型の OR ("||") を持つタグ式と同じです。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

nativePayload
String

通知ペイロード。

tags
IEnumerable<String>

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

cancellationToken
CancellationToken

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

戻り値

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

適用対象

SendMpnsNativeNotificationAsync(String, String, CancellationToken)

Microsoft プッシュ通知サービス (MPNS) ネイティブ通知をタグ式に送信します (1 つのタグ "tag" は有効なタグ式です)。 MPNS のヘッダーを指定するには、 メソッドを使用します SendNotificationAsync(Notification)

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

パラメーター

nativePayload
String

ネイティブ ペイロード。

tagExpression
String

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

cancellationToken
CancellationToken

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

戻り値

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

適用対象