EventGridPublisherClientExtensions.SendCloudNativeCloudEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Publishes a set of CloudEvents to an Event Grid topic.
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
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET