Partager via


NotificationHubResource.UpdateAsync Méthode

Définition

Corriger un objet NotificationHub dans un espace de noms.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
  • IdNotificationHubs_Patch d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>> UpdateAsync (Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>>
override this.UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>>
Public Overridable Function UpdateAsync (patch As NotificationHubPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubResource))

Paramètres

patch
NotificationHubPatch

Paramètres fournis pour corriger une ressource NotificationHub.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à