NamespaceManager.SubmitNotificationHubJobAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
override this.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
The job to submit.
- notificationHubPath
- String
The notification hub path.
Returns
A task that represents the asynchronous get job operation
Implements
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>
override this.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
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
Implements
Applies to
Azure SDK for .NET