Partager via


EventGridPublisherClientBuilderExtensions.AddEventGridPublisherClient Méthode

Définition

Surcharges

AddEventGridPublisherClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Inscrit un EventGridPublisherClient instance avec les options de connexion chargées à partir de la instance fournie configuration .

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri)

Inscrit un EventGridPublisherClient instance avec le fourniUri.

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Inscrit un EventGridPublisherClient instance avec les et UriAzureKeyCredential./>fournis.

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureSasCredential)

Inscrit un EventGridPublisherClient instance avec les et UriAzureSasCredential./>fournis.

AddEventGridPublisherClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
EventGridPublisherClientBuilderExtensions.cs
Source:
EventGridPublisherClientBuilderExtensions.cs

Inscrit un EventGridPublisherClient instance avec les options de connexion chargées à partir de la instance fournie configuration .

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient,Azure.Messaging.EventGrid.EventGridPublisherClientOptions> AddEventGridPublisherClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddEventGridPublisherClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient, Azure.Messaging.EventGrid.EventGridPublisherClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddEventGridPublisherClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of EventGridPublisherClient, EventGridPublisherClientOptions)

Paramètres de type

TBuilder
TConfiguration

Paramètres

builder
TBuilder
configuration
TConfiguration

Retours

S’applique à

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri)

Source:
EventGridPublisherClientBuilderExtensions.cs
Source:
EventGridPublisherClientBuilderExtensions.cs

Inscrit un EventGridPublisherClient instance avec le fourniUri.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient,Azure.Messaging.EventGrid.EventGridPublisherClientOptions> AddEventGridPublisherClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddEventGridPublisherClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient, Azure.Messaging.EventGrid.EventGridPublisherClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddEventGridPublisherClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of EventGridPublisherClient, EventGridPublisherClientOptions)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
endpoint
Uri

Retours

S’applique à

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Source:
EventGridPublisherClientBuilderExtensions.cs
Source:
EventGridPublisherClientBuilderExtensions.cs

Inscrit un EventGridPublisherClient instance avec les et UriAzureKeyCredential./>fournis.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient,Azure.Messaging.EventGrid.EventGridPublisherClientOptions> AddEventGridPublisherClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddEventGridPublisherClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient, Azure.Messaging.EventGrid.EventGridPublisherClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddEventGridPublisherClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of EventGridPublisherClient, EventGridPublisherClientOptions)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
endpoint
Uri
credential
AzureKeyCredential

Retours

S’applique à

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureSasCredential)

Source:
EventGridPublisherClientBuilderExtensions.cs
Source:
EventGridPublisherClientBuilderExtensions.cs

Inscrit un EventGridPublisherClient instance avec les et UriAzureSasCredential./>fournis.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient,Azure.Messaging.EventGrid.EventGridPublisherClientOptions> AddEventGridPublisherClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureSasCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddEventGridPublisherClient : 'Builder * Uri * Azure.AzureSasCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventGrid.EventGridPublisherClient, Azure.Messaging.EventGrid.EventGridPublisherClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddEventGridPublisherClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureSasCredential) As IAzureClientBuilder(Of EventGridPublisherClient, EventGridPublisherClientOptions)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
endpoint
Uri
credential
AzureSasCredential

Retours

S’applique à