EventGridPublisherClientExtensions.SendCloudNativeCloudEventAsync 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 System.Threading.Tasks.Task<Azure.Response> SendCloudNativeCloudEventAsync (this Azure.Messaging.EventGrid.EventGridPublisherClient client, CloudNative.CloudEvents.CloudEvent cloudEvent, System.Threading.CancellationToken cancellationToken = default);
static member SendCloudNativeCloudEventAsync : Azure.Messaging.EventGrid.EventGridPublisherClient * CloudNative.CloudEvents.CloudEvent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
<Extension()>
Public Function SendCloudNativeCloudEventAsync (client As EventGridPublisherClient, cloudEvent As CloudEvent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- client
- EventGridPublisherClient
The EventGridPublisherClient instance to extend.
- cloudEvent
- CloudNative.CloudEvents.CloudEvent
The event to be published to Event Grid.
- cancellationToken
- CancellationToken
An optional cancellation token instance to signal the request to cancel the operation.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET