Udostępnij za pośrednictwem


INamespaceManager.GetNotificationHubJobAsync Method

Definition

Overloads

GetNotificationHubJobAsync(String, String, CancellationToken)

Gets the notification hub job asynchronously.

GetNotificationHubJobAsync(String, String)

Gets the notification hub job asynchronously.

GetNotificationHubJobAsync(String, String, CancellationToken)

Gets the notification hub job asynchronously.

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

Parameters

jobId
String

The job identifier.

notificationHubPath
String

The notification hub path.

cancellationToken
CancellationToken

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

Returns

A task that represents the asynchronous get job operation

Applies to

GetNotificationHubJobAsync(String, String)

Gets the notification hub job asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob> GetNotificationHubJobAsync (string jobId, string notificationHubPath);
abstract member GetNotificationHubJobAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob>
Public Function GetNotificationHubJobAsync (jobId As String, notificationHubPath As String) As Task(Of NotificationHubJob)

Parameters

jobId
String

The job identifier.

notificationHubPath
String

The notification hub path.

Returns

A task that represents the asynchronous get job operation

Applies to