EventGridPublisherClientExtensions.SendCloudNativeCloudEvents Method

Definition

Publishes a set of CloudEvents to an Event Grid topic.

C#
public static Azure.Response SendCloudNativeCloudEvents(this Azure.Messaging.EventGrid.EventGridPublisherClient client, System.Collections.Generic.IEnumerable<CloudNative.CloudEvents.CloudEvent> cloudEvents, System.Threading.CancellationToken cancellationToken = default);

Parameters

client
EventGridPublisherClient

The EventGridPublisherClient instance to extend.

cloudEvents
IEnumerable<CloudNative.CloudEvents.CloudEvent>

The set of events to be published to Event Grid.

cancellationToken
CancellationToken

An optional cancellation token instance to signal the request to cancel the operation.

Returns

Applies to

Product Versions
Azure SDK for .NET Latest