INotificationHubClient.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) |
Creates a NotificationHubJob. This API is only available for Standard namespaces. |
SubmitNotificationHubJobAsync(NotificationHubJob, CancellationToken) |
Creates a NotificationHubJob. This API is only available for Standard namespaces. |
SubmitNotificationHubJobAsync(NotificationHubJob)
Creates a NotificationHubJob. This API is only available for Standard namespaces.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob> SubmitNotificationHubJobAsync (Microsoft.Azure.NotificationHubs.NotificationHubJob job);
abstract member SubmitNotificationHubJobAsync : Microsoft.Azure.NotificationHubs.NotificationHubJob -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob>
Public Function SubmitNotificationHubJobAsync (job As NotificationHubJob) As Task(Of NotificationHubJob)
Parameters
The NotificationHubJob to export registrations, import registrations, or create registrations.
Returns
The submitted NotificationHubJobs.
Applies to
SubmitNotificationHubJobAsync(NotificationHubJob, CancellationToken)
Creates a NotificationHubJob. This API is only available for Standard namespaces.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob> SubmitNotificationHubJobAsync (Microsoft.Azure.NotificationHubs.NotificationHubJob job, System.Threading.CancellationToken cancellationToken);
abstract member SubmitNotificationHubJobAsync : Microsoft.Azure.NotificationHubs.NotificationHubJob * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob>
Public Function SubmitNotificationHubJobAsync (job As NotificationHubJob, cancellationToken As CancellationToken) As Task(Of NotificationHubJob)
Parameters
The NotificationHubJob to export registrations, import registrations, or create registrations.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
The submitted NotificationHubJobs.