Condividi tramite


EventGridPublisherClient Class

Definition

The EventGridPublisherClient is used to publish events to Event Grid topics.

public class EventGridPublisherClient
type EventGridPublisherClient = class
Public Class EventGridPublisherClient
Inheritance
EventGridPublisherClient

Constructors

EventGridPublisherClient()

Initializes a new instance of the EventGridPublisherClient class for mocking.

EventGridPublisherClient(Uri, AzureKeyCredential, EventGridPublisherClientOptions)

Initializes a new instance of the EventGridPublisherClient class.

EventGridPublisherClient(Uri, AzureKeyCredential)

Initializes a new instance of the EventGridPublisherClient class.

EventGridPublisherClient(Uri, AzureSasCredential, EventGridPublisherClientOptions)

Initializes a new instance of the EventGridPublisherClient class.

EventGridPublisherClient(Uri, TokenCredential, EventGridPublisherClientOptions)

Initializes a new instance of the EventGridPublisherClient class.

Methods

SendEvent(BinaryData, CancellationToken)

Publishes a set of custom schema events to an Event Grid topic.

SendEvent(CloudEvent, CancellationToken)

Publishes a CloudEvent to an Event Grid topic.

SendEvent(CloudEvent, String, CancellationToken)

Publishes a CloudEvent to an Event Grid topic.

SendEvent(EventGridEvent, CancellationToken)

Publishes a set of EventGridEvents to an Event Grid topic.

SendEventAsync(BinaryData, CancellationToken)

Publishes a set of custom schema events to an Event Grid topic.

SendEventAsync(CloudEvent, CancellationToken)

Publishes a CloudEvent to an Event Grid topic.

SendEventAsync(CloudEvent, String, CancellationToken)

Publishes a CloudEvent to an Event Grid topic.

SendEventAsync(EventGridEvent, CancellationToken)

Publishes a set of EventGridEvents to an Event Grid topic.

SendEvents(IEnumerable<BinaryData>, CancellationToken)

Publishes a set of custom schema events to an Event Grid topic.

SendEvents(IEnumerable<CloudEvent>, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendEvents(IEnumerable<CloudEvent>, String, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendEvents(IEnumerable<EventGridEvent>, CancellationToken)

Publishes a set of EventGridEvents to an Event Grid topic.

SendEventsAsync(IEnumerable<BinaryData>, CancellationToken)

Publishes a set of custom schema events to an Event Grid topic.

SendEventsAsync(IEnumerable<CloudEvent>, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendEventsAsync(IEnumerable<CloudEvent>, String, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendEventsAsync(IEnumerable<EventGridEvent>, CancellationToken)

Publishes a set of EventGridEvents to an Event Grid topic.

Extension Methods

SendCloudNativeCloudEvent(EventGridPublisherClient, CloudEvent, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendCloudNativeCloudEventAsync(EventGridPublisherClient, CloudEvent, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendCloudNativeCloudEvents(EventGridPublisherClient, IEnumerable<CloudEvent>, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

SendCloudNativeCloudEventsAsync(EventGridPublisherClient, IEnumerable<CloudEvent>, CancellationToken)

Publishes a set of CloudEvents to an Event Grid topic.

Applies to