你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

INamespaceManager.GetNotificationHubJobsAsync 方法

定义

重载

GetNotificationHubJobsAsync(String)

异步获取通知中心作业。

GetNotificationHubJobsAsync(String, CancellationToken)

异步获取通知中心作业。

GetNotificationHubJobsAsync(String)

异步获取通知中心作业。

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.NotificationHubs.NotificationHubJob>> GetNotificationHubJobsAsync (string notificationHubPath);
abstract member GetNotificationHubJobsAsync : string -> System.Threading.Tasks.Task<seq<Microsoft.Azure.NotificationHubs.NotificationHubJob>>
Public Function GetNotificationHubJobsAsync (notificationHubPath As String) As Task(Of IEnumerable(Of NotificationHubJob))

参数

notificationHubPath
String

通知中心路径。

返回

表示异步获取作业操作的任务

适用于

GetNotificationHubJobsAsync(String, CancellationToken)

异步获取通知中心作业。

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

参数

notificationHubPath
String

通知中心路径。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

表示异步获取作业操作的任务

适用于