Share via


INamespaceManager.SubmitNotificationHubJobAsync Method

Definition

Overloads

SubmitNotificationHubJobAsync(NotificationHubJob, String)

Submits the notification hub job asynchronously.

SubmitNotificationHubJobAsync(NotificationHubJob, String, CancellationToken)

Submits the notification hub job asynchronously.

SubmitNotificationHubJobAsync(NotificationHubJob, String)

Submits the notification hub job asynchronously.

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

Parameters

job
NotificationHubJob

The job to submit.

notificationHubPath
String

The notification hub path.

Returns

A task that represents the asynchronous get job operation

Applies to

SubmitNotificationHubJobAsync(NotificationHubJob, String, CancellationToken)

Submits the notification hub job asynchronously.

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

Parameters

job
NotificationHubJob

The job to submit.

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