Freigeben über


NotificationHubResource.UpdateAsync Methode

Definition

Patchen Sie einen NotificationHub in einem Namespace.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
  • Vorgang IdNotificationHubs_Patch
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))

Parameter

patch
NotificationHubPatch

Parameter, die zum Patchen einer NotificationHub-Ressource bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: