Compartilhar via


EventGridPublisherClientBuilderExtensions.AddEventGridPublisherClient Método

Definição

Sobrecargas

AddEventGridPublisherClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma EventGridPublisherClient instância com opções de conexão carregadas da instância fornecida configuration .

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri)

Registra uma EventGridPublisherClient instância com o fornecido Uri.

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registra uma EventGridPublisherClient instância com o fornecido Uri e AzureKeyCredential./>.

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureSasCredential)

Registra uma EventGridPublisherClient instância com o fornecido Uri e AzureSasCredential./>.

AddEventGridPublisherClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
EventGridPublisherClientBuilderExtensions.cs
Origem:
EventGridPublisherClientBuilderExtensions.cs

Registra uma EventGridPublisherClient instância com opções de conexão carregadas da instância fornecida 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)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder
configuration
TConfiguration

Retornos

Aplica-se a

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri)

Origem:
EventGridPublisherClientBuilderExtensions.cs
Origem:
EventGridPublisherClientBuilderExtensions.cs

Registra uma EventGridPublisherClient instância com o fornecido Uri.

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)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
endpoint
Uri

Retornos

Aplica-se a

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Origem:
EventGridPublisherClientBuilderExtensions.cs
Origem:
EventGridPublisherClientBuilderExtensions.cs

Registra uma EventGridPublisherClient instância com o fornecido Uri e AzureKeyCredential./>.

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)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
endpoint
Uri
credential
AzureKeyCredential

Retornos

Aplica-se a

AddEventGridPublisherClient<TBuilder>(TBuilder, Uri, AzureSasCredential)

Origem:
EventGridPublisherClientBuilderExtensions.cs
Origem:
EventGridPublisherClientBuilderExtensions.cs

Registra uma EventGridPublisherClient instância com o fornecido Uri e AzureSasCredential./>.

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)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
endpoint
Uri
credential
AzureSasCredential

Retornos

Aplica-se a