Compartilhar via


EmailClientBuilderExtensions.AddEmailClient Método

Definição

Sobrecargas

AddEmailClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma EmailClient instância com o fornecido configuration

AddEmailClient<TBuilder>(TBuilder, String)

Registra uma EmailClient instância com o fornecido connectionString

AddEmailClient<TBuilder>(TBuilder, Uri)

Registra uma EmailClient instância com o fornecido serviceUri

AddEmailClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Registra uma EmailClient instância com o fornecido serviceUri e azureKeyCredential

AddEmailClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
EmailClientBuilderExtensions.cs

Registra uma EmailClient instância com o fornecido configuration

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient,Azure.Communication.Email.EmailClientOptions> AddEmailClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddEmailClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient, Azure.Communication.Email.EmailClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddEmailClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of EmailClient, EmailClientOptions)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder
configuration
TConfiguration

Retornos

Aplica-se a

AddEmailClient<TBuilder>(TBuilder, String)

Origem:
EmailClientBuilderExtensions.cs

Registra uma EmailClient instância com o fornecido connectionString

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient,Azure.Communication.Email.EmailClientOptions> AddEmailClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddEmailClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient, Azure.Communication.Email.EmailClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddEmailClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of EmailClient, EmailClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
connectionString
String

Retornos

Aplica-se a

AddEmailClient<TBuilder>(TBuilder, Uri)

Origem:
EmailClientBuilderExtensions.cs

Registra uma EmailClient instância com o fornecido serviceUri

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient,Azure.Communication.Email.EmailClientOptions> AddEmailClient<TBuilder> (this TBuilder builder, Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddEmailClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient, Azure.Communication.Email.EmailClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddEmailClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, serviceUri As Uri) As IAzureClientBuilder(Of EmailClient, EmailClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
serviceUri
Uri

Retornos

Aplica-se a

AddEmailClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)

Origem:
EmailClientBuilderExtensions.cs

Registra uma EmailClient instância com o fornecido serviceUri e azureKeyCredential

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient,Azure.Communication.Email.EmailClientOptions> AddEmailClient<TBuilder> (this TBuilder builder, Uri serviceUri, Azure.AzureKeyCredential azureKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddEmailClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.Email.EmailClient, Azure.Communication.Email.EmailClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddEmailClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, serviceUri As Uri, azureKeyCredential As AzureKeyCredential) As IAzureClientBuilder(Of EmailClient, EmailClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
serviceUri
Uri
azureKeyCredential
AzureKeyCredential

Retornos

Aplica-se a