Compartilhar via


EmailClient Construtores

Definição

Sobrecargas

EmailClient()

Inicializa uma nova instância do EmailClient para zombar.

EmailClient(String)

Inicializa uma nova instância de EmailClient

EmailClient(String, EmailClientOptions)

Inicializa uma nova instância de EmailClient.

EmailClient(Uri, AzureKeyCredential, EmailClientOptions)

Inicializa uma nova instância de EmailClient.

EmailClient(Uri, TokenCredential, EmailClientOptions)

Inicializa uma nova instância de EmailClient.

EmailClient()

Origem:
EmailClient.cs

Inicializa uma nova instância do EmailClient para zombar.

protected EmailClient ();
Protected Sub New ()

Aplica-se a

EmailClient(String)

Origem:
EmailClient.cs

Inicializa uma nova instância de EmailClient

public EmailClient (string connectionString);
new Azure.Communication.Email.EmailClient : string -> Azure.Communication.Email.EmailClient
Public Sub New (connectionString As String)

Parâmetros

connectionString
String

Cadeia de conexão adquirida do recurso Serviços de Comunicação do Azure.

Aplica-se a

EmailClient(String, EmailClientOptions)

Origem:
EmailClient.cs

Inicializa uma nova instância de EmailClient.

public EmailClient (string connectionString, Azure.Communication.Email.EmailClientOptions options);
new Azure.Communication.Email.EmailClient : string * Azure.Communication.Email.EmailClientOptions -> Azure.Communication.Email.EmailClient
Public Sub New (connectionString As String, options As EmailClientOptions)

Parâmetros

connectionString
String

Cadeia de conexão adquirida do recurso Serviços de Comunicação do Azure.

options
EmailClientOptions

Opção de cliente expondo Diagnostics, Retry, Transportetc.

Aplica-se a

EmailClient(Uri, AzureKeyCredential, EmailClientOptions)

Origem:
EmailClient.cs

Inicializa uma nova instância de EmailClient.

public EmailClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.Communication.Email.EmailClientOptions options = default);
new Azure.Communication.Email.EmailClient : Uri * Azure.AzureKeyCredential * Azure.Communication.Email.EmailClientOptions -> Azure.Communication.Email.EmailClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, Optional options As EmailClientOptions = Nothing)

Parâmetros

endpoint
Uri

O URI do recurso Serviços de Comunicação do Azure.

credential
AzureKeyCredential

O AzureKeyCredential usado para autenticar solicitações.

options
EmailClientOptions

Opção de cliente expondo Diagnostics, Retry, Transportetc.

Aplica-se a

EmailClient(Uri, TokenCredential, EmailClientOptions)

Origem:
EmailClient.cs

Inicializa uma nova instância de EmailClient.

public EmailClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Communication.Email.EmailClientOptions options = default);
new Azure.Communication.Email.EmailClient : Uri * Azure.Core.TokenCredential * Azure.Communication.Email.EmailClientOptions -> Azure.Communication.Email.EmailClient
Public Sub New (endpoint As Uri, credential As TokenCredential, Optional options As EmailClientOptions = Nothing)

Parâmetros

endpoint
Uri

O URI do recurso Serviços de Comunicação do Azure.

credential
TokenCredential

O TokenCredential usado para autenticar solicitações, como DefaultAzureCredential.

options
EmailClientOptions

Opção de cliente expondo Diagnostics, Retry, Transportetc.

Aplica-se a