Partager via


EventGridPublisherClientExtensions.SendCloudNativeCloudEvents Méthode

Définition

Publie un ensemble de CloudEvents dans une rubrique Event Grid.

public static Azure.Response SendCloudNativeCloudEvents (this Azure.Messaging.EventGrid.EventGridPublisherClient client, System.Collections.Generic.IEnumerable<CloudNative.CloudEvents.CloudEvent> cloudEvents, System.Threading.CancellationToken cancellationToken = default);
static member SendCloudNativeCloudEvents : Azure.Messaging.EventGrid.EventGridPublisherClient * seq<CloudNative.CloudEvents.CloudEvent> * System.Threading.CancellationToken -> Azure.Response
<Extension()>
Public Function SendCloudNativeCloudEvents (client As EventGridPublisherClient, cloudEvents As IEnumerable(Of CloudEvent), Optional cancellationToken As CancellationToken = Nothing) As Response

Paramètres

client
EventGridPublisherClient

Instance EventGridPublisherClient à étendre.

cloudEvents
IEnumerable<CloudNative.CloudEvents.CloudEvent>

Ensemble d’événements à publier dans Event Grid.

cancellationToken
CancellationToken

Un jeton d’annulation facultatif instance pour signaler la demande d’annulation de l’opération.

Retours

S’applique à