Megosztás a következőn keresztül:


EventGridPublisherClient Constructors

Definition

Overloads

EventGridPublisherClient()

Initializes a new instance of the EventGridPublisherClient class for mocking.

EventGridPublisherClient(Uri, AzureKeyCredential)

Initializes a new instance of the EventGridPublisherClient class.

EventGridPublisherClient(Uri, AzureKeyCredential, EventGridPublisherClientOptions)

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.

EventGridPublisherClient()

Source:
EventGridPublisherClient.cs
Source:
EventGridPublisherClient.cs

Initializes a new instance of the EventGridPublisherClient class for mocking.

protected EventGridPublisherClient ();
Protected Sub New ()

Applies to

EventGridPublisherClient(Uri, AzureKeyCredential)

Source:
EventGridPublisherClient.cs
Source:
EventGridPublisherClient.cs

Initializes a new instance of the EventGridPublisherClient class.

public EventGridPublisherClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.Messaging.EventGrid.EventGridPublisherClient : Uri * Azure.AzureKeyCredential -> Azure.Messaging.EventGrid.EventGridPublisherClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)

Parameters

endpoint
Uri

The topic endpoint. For example, "https://TOPIC-NAME.REGION-NAME-1.eventgrid.azure.net/api/events".

credential
AzureKeyCredential

The key credential used to authenticate with the service.

Applies to

EventGridPublisherClient(Uri, AzureKeyCredential, EventGridPublisherClientOptions)

Source:
EventGridPublisherClient.cs
Source:
EventGridPublisherClient.cs

Initializes a new instance of the EventGridPublisherClient class.

public EventGridPublisherClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.Messaging.EventGrid.EventGridPublisherClientOptions options);
new Azure.Messaging.EventGrid.EventGridPublisherClient : Uri * Azure.AzureKeyCredential * Azure.Messaging.EventGrid.EventGridPublisherClientOptions -> Azure.Messaging.EventGrid.EventGridPublisherClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As EventGridPublisherClientOptions)

Parameters

endpoint
Uri

The topic endpoint. For example, "https://TOPIC-NAME.REGION-NAME-1.eventgrid.azure.net/api/events".

credential
AzureKeyCredential

The key credential used to authenticate with the service.

options
EventGridPublisherClientOptions

The set of options to use for configuring the client.

Applies to

EventGridPublisherClient(Uri, AzureSasCredential, EventGridPublisherClientOptions)

Source:
EventGridPublisherClient.cs
Source:
EventGridPublisherClient.cs

Initializes a new instance of the EventGridPublisherClient class.

public EventGridPublisherClient (Uri endpoint, Azure.AzureSasCredential credential, Azure.Messaging.EventGrid.EventGridPublisherClientOptions options = default);
new Azure.Messaging.EventGrid.EventGridPublisherClient : Uri * Azure.AzureSasCredential * Azure.Messaging.EventGrid.EventGridPublisherClientOptions -> Azure.Messaging.EventGrid.EventGridPublisherClient
Public Sub New (endpoint As Uri, credential As AzureSasCredential, Optional options As EventGridPublisherClientOptions = Nothing)

Parameters

endpoint
Uri

The topic endpoint. For example, "https://TOPIC-NAME.REGION-NAME-1.eventgrid.azure.net/api/events".

credential
AzureSasCredential

The Shared Access Signature credential used to connect to Azure. This signature can be constructed using the EventGridSasBuilder.

options
EventGridPublisherClientOptions

The set of options to use for configuring the client.

Applies to

EventGridPublisherClient(Uri, TokenCredential, EventGridPublisherClientOptions)

Source:
EventGridPublisherClient.cs
Source:
EventGridPublisherClient.cs

Initializes a new instance of the EventGridPublisherClient class.

public EventGridPublisherClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Messaging.EventGrid.EventGridPublisherClientOptions options = default);
new Azure.Messaging.EventGrid.EventGridPublisherClient : Uri * Azure.Core.TokenCredential * Azure.Messaging.EventGrid.EventGridPublisherClientOptions -> Azure.Messaging.EventGrid.EventGridPublisherClient
Public Sub New (endpoint As Uri, credential As TokenCredential, Optional options As EventGridPublisherClientOptions = Nothing)

Parameters

endpoint
Uri

The topic endpoint. For example, "https://TOPIC-NAME.REGION-NAME-1.eventgrid.azure.net/api/events".

credential
TokenCredential

The token credential used to authenticate with the service.

options
EventGridPublisherClientOptions

The set of options to use for configuring the client.

Applies to