Freigeben über


CommunicationServiceResource.LinkNotificationHubAsync Methode

Definition

Verknüpft einen Azure Notification Hub mit diesem Kommunikationsdienst.

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

Parameter

content
LinkNotificationHubContent

Für den Vorgang bereitgestellte Parameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: