Partilhar via


EventGridPublisherClientExtensions.SendCloudNativeCloudEvents Método

Definição

Publica um conjunto de CloudEvents em um tópico da Grade de Eventos.

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

Parâmetros

client
EventGridPublisherClient

A EventGridPublisherClient instância a ser estendida.

cloudEvents
IEnumerable<CloudNative.CloudEvents.CloudEvent>

O conjunto de eventos a serem publicados na Grade de Eventos.

cancellationToken
CancellationToken

Uma instância de token de cancelamento opcional para sinalizar a solicitação para cancelar a operação.

Retornos

Aplica-se a