Dela via


INotificationHubClient.GetNotificationHubJobsAsync Method

Definition

Overloads

GetNotificationHubJobsAsync()

Returns all known NotificationHubJobs. This method is used to get the status of all job to see if those jobs completed, failed, or are still in progress. This API is only available for Standard namespaces.

GetNotificationHubJobsAsync(CancellationToken)

Returns all known NotificationHubJobs. This method is used to get the status of all job to see if those jobs completed, failed, or are still in progress. This API is only available for Standard namespaces.

GetNotificationHubJobsAsync()

Returns all known NotificationHubJobs. This method is used to get the status of all job to see if those jobs completed, failed, or are still in progress. This API is only available for Standard namespaces.

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

Returns

The current state of the NotificationHubJobs.

Applies to

GetNotificationHubJobsAsync(CancellationToken)

Returns all known NotificationHubJobs. This method is used to get the status of all job to see if those jobs completed, failed, or are still in progress. This API is only available for Standard namespaces.

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

Parameters

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The current state of the NotificationHubJobs.

Applies to