Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
EventGridPublisherClient Class
Definition
- Namespace:
- Azure.Messaging.EventGrid
- Assembly:
- Azure.Messaging.EventGrid.dll
- Package:
- Azure.Messaging.EventGrid v5.0.0
- Package:
- Azure.Messaging.EventGrid v5.0.0-beta.1
- Source:
- EventGridPublisherClient.cs
- Source:
- EventGridPublisherClient.cs
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.
The EventGridPublisherClient is used to publish events to Event Grid topics.
public class EventGridPublisherClient
type EventGridPublisherClient = class
Public Class EventGridPublisherClient
- Inheritance
-
EventGridPublisherClient
Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
Azure SDK for .NET
Feedback
Was this page helpful?
