Partilhar via


NotificationHubNamespaceResource.UpdateAsync Método

Definição

Corrige o namespace existente

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
  • IdNamespaces_Patch de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>> UpdateAsync (Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>>
override this.UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>>
Public Overridable Function UpdateAsync (patch As NotificationHubNamespacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubNamespaceResource))

Parâmetros

patch
NotificationHubNamespacePatch

Parâmetros fornecidos para corrigir um recurso de namespace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a