NotificationHubClient.ScheduleNotificationAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ScheduleNotificationAsync(Notification, DateTimeOffset) |
通知を非同期的にスケジュールします。 |
ScheduleNotificationAsync(Notification, DateTimeOffset, IEnumerable<String>) |
通知を非同期的にスケジュールします。 |
ScheduleNotificationAsync(Notification, DateTimeOffset, String) |
通知を非同期的にスケジュールします。 |
ScheduleNotificationAsync(Notification, DateTimeOffset, CancellationToken) |
通知を非同期的にスケジュールします。 |
ScheduleNotificationAsync(Notification, DateTimeOffset, IEnumerable<String>, CancellationToken) |
通知を非同期的にスケジュールします。 |
ScheduleNotificationAsync(Notification, DateTimeOffset, String, CancellationToken) |
通知を非同期的にスケジュールします。 |
ScheduleNotificationAsync(Notification, DateTimeOffset)
通知を非同期的にスケジュールします。
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification> ScheduleNotificationAsync(Microsoft.Azure.NotificationHubs.Notification notification, DateTimeOffset scheduledTime);
abstract member ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
override this.ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
Public Function ScheduleNotificationAsync (notification As Notification, scheduledTime As DateTimeOffset) As Task(Of ScheduledNotification)
パラメーター
- notification
- Notification
通知。
- scheduledTime
- DateTimeOffset
スケジュールされた時刻。
戻り値
非同期操作を表すタスク。
実装
適用対象
ScheduleNotificationAsync(Notification, DateTimeOffset, IEnumerable<String>)
通知を非同期的にスケジュールします。
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification> ScheduleNotificationAsync(Microsoft.Azure.NotificationHubs.Notification notification, DateTimeOffset scheduledTime, System.Collections.Generic.IEnumerable<string> tags);
abstract member ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
override this.ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
Public Function ScheduleNotificationAsync (notification As Notification, scheduledTime As DateTimeOffset, tags As IEnumerable(Of String)) As Task(Of ScheduledNotification)
パラメーター
- notification
- Notification
通知。
- scheduledTime
- DateTimeOffset
スケジュールされた時刻。
- tags
- IEnumerable<String>
タグ。
戻り値
非同期操作を表すタスク。
実装
例外
tags オブジェクトが null の場合にスローされます
tags 引数には、少なくとも 1 つのタグを含める必要があります
適用対象
ScheduleNotificationAsync(Notification, DateTimeOffset, String)
通知を非同期的にスケジュールします。
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification> ScheduleNotificationAsync(Microsoft.Azure.NotificationHubs.Notification notification, DateTimeOffset scheduledTime, string tagExpression);
abstract member ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
override this.ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
Public Function ScheduleNotificationAsync (notification As Notification, scheduledTime As DateTimeOffset, tagExpression As String) As Task(Of ScheduledNotification)
パラメーター
- notification
- Notification
通知。
- scheduledTime
- DateTimeOffset
スケジュールされた時刻。
- tagExpression
- String
タグ式。
戻り値
非同期操作を表すタスク。
実装
適用対象
ScheduleNotificationAsync(Notification, DateTimeOffset, CancellationToken)
通知を非同期的にスケジュールします。
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification> ScheduleNotificationAsync(Microsoft.Azure.NotificationHubs.Notification notification, DateTimeOffset scheduledTime, System.Threading.CancellationToken cancellationToken);
abstract member ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
override this.ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
Public Function ScheduleNotificationAsync (notification As Notification, scheduledTime As DateTimeOffset, cancellationToken As CancellationToken) As Task(Of ScheduledNotification)
パラメーター
- notification
- Notification
通知。
- scheduledTime
- DateTimeOffset
スケジュールされた時刻。
- cancellationToken
- CancellationToken
タスクの完了を待機しているときに監視する CancellationToken。
戻り値
非同期操作を表すタスク。
実装
適用対象
ScheduleNotificationAsync(Notification, DateTimeOffset, IEnumerable<String>, CancellationToken)
通知を非同期的にスケジュールします。
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification> ScheduleNotificationAsync(Microsoft.Azure.NotificationHubs.Notification notification, DateTimeOffset scheduledTime, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
override this.ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
Public Function ScheduleNotificationAsync (notification As Notification, scheduledTime As DateTimeOffset, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of ScheduledNotification)
パラメーター
- notification
- Notification
通知。
- scheduledTime
- DateTimeOffset
スケジュールされた時刻。
- tags
- IEnumerable<String>
タグ。
- cancellationToken
- CancellationToken
タスクの完了を待機しているときに監視する CancellationToken。
戻り値
非同期操作を表すタスク。
実装
例外
tags オブジェクトが null の場合にスローされます
tags 引数には、少なくとも 1 つのタグを含める必要があります
適用対象
ScheduleNotificationAsync(Notification, DateTimeOffset, String, CancellationToken)
通知を非同期的にスケジュールします。
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification> ScheduleNotificationAsync(Microsoft.Azure.NotificationHubs.Notification notification, DateTimeOffset scheduledTime, string tagExpression, System.Threading.CancellationToken cancellationToken);
abstract member ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
override this.ScheduleNotificationAsync : Microsoft.Azure.NotificationHubs.Notification * DateTimeOffset * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.ScheduledNotification>
Public Function ScheduleNotificationAsync (notification As Notification, scheduledTime As DateTimeOffset, tagExpression As String, cancellationToken As CancellationToken) As Task(Of ScheduledNotification)
パラメーター
- notification
- Notification
通知。
- scheduledTime
- DateTimeOffset
スケジュールされた時刻。
- tagExpression
- String
タグ式。
- cancellationToken
- CancellationToken
タスクの完了を待機しているときに監視する CancellationToken。
戻り値
非同期操作を表すタスク。
実装
適用対象
Azure SDK for .NET