Dela via


NotificationHubClient.SubmitNotificationHubJobAsync Method

Definition

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>
override this.SubmitNotificationHubJobAsync : Microsoft.Azure.NotificationHubs.NotificationHubJob -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubJob>
Public Function SubmitNotificationHubJobAsync (job As NotificationHubJob) As Task(Of NotificationHubJob)

Parameters

job
NotificationHubJob

The NotificationHubJob to export registrations, import registrations, or create registrations.

Returns

The submitted NotificationHubJobs.

Implements

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>
override this.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

job
NotificationHubJob

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.

Implements

Applies to