Freigeben über


CommunicationServiceResource.LinkNotificationHub Methode

Definition

Verknüpft einen Azure Notification Hub mit diesem Kommunikationsdienst.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub
  • Vorgangs-IdCommunicationServices_LinkNotificationHub
public virtual Azure.Response<Azure.ResourceManager.Communication.Models.LinkedNotificationHub> LinkNotificationHub (Azure.ResourceManager.Communication.Models.LinkNotificationHubContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member LinkNotificationHub : Azure.ResourceManager.Communication.Models.LinkNotificationHubContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.Models.LinkedNotificationHub>
override this.LinkNotificationHub : Azure.ResourceManager.Communication.Models.LinkNotificationHubContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.Models.LinkedNotificationHub>
Public Overridable Function LinkNotificationHub (Optional content As LinkNotificationHubContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LinkedNotificationHub)

Parameter

content
LinkNotificationHubContent

Für den Vorgang bereitgestellte Parameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: