Freigeben über


DevTestLabNotificationChannelResource.NotifyAsync Methode

Definition

Dient zum Senden einer Benachrichtigung an einen angegebenen Kanal.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify
  • Vorgangs-IdNotificationChannels_Notify
public virtual System.Threading.Tasks.Task<Azure.Response> NotifyAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member NotifyAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.NotifyAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabNotificationChannelNotifyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function NotifyAsync (content As DevTestLabNotificationChannelNotifyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

content
DevTestLabNotificationChannelNotifyContent

Eigenschaften zum Generieren einer Benachrichtigung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: