Udostępnij za pośrednictwem


INamespaceManager.UpdateNotificationHubAsync Method

Definition

Overloads

UpdateNotificationHubAsync(NotificationHubDescription)

Updates the notification hub asynchronously.

UpdateNotificationHubAsync(NotificationHubDescription, CancellationToken)

Updates the notification hub asynchronously.

UpdateNotificationHubAsync(NotificationHubDescription)

Updates the notification hub asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription> UpdateNotificationHubAsync (Microsoft.Azure.NotificationHubs.NotificationHubDescription description);
abstract member UpdateNotificationHubAsync : Microsoft.Azure.NotificationHubs.NotificationHubDescription -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription>
Public Function UpdateNotificationHubAsync (description As NotificationHubDescription) As Task(Of NotificationHubDescription)

Parameters

description
NotificationHubDescription

The description.

Returns

A task that represents the asynchronous hub update operation

Applies to

UpdateNotificationHubAsync(NotificationHubDescription, CancellationToken)

Updates the notification hub asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription> UpdateNotificationHubAsync (Microsoft.Azure.NotificationHubs.NotificationHubDescription description, System.Threading.CancellationToken cancellationToken);
abstract member UpdateNotificationHubAsync : Microsoft.Azure.NotificationHubs.NotificationHubDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription>
Public Function UpdateNotificationHubAsync (description As NotificationHubDescription, cancellationToken As CancellationToken) As Task(Of NotificationHubDescription)

Parameters

description
NotificationHubDescription

The description.

cancellationToken
CancellationToken

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

Returns

A task that represents the asynchronous hub update operation

Applies to