Condividi tramite


AzureClientFactoryBuilder.ConfigureDefaults Method

Definition

Overloads

ConfigureDefaults(IConfiguration)

Adds a configuration instance to initialize all clients from.

ConfigureDefaults(Action<ClientOptions,IServiceProvider>)

Adds a configuration delegate that gets executed for all clients.

ConfigureDefaults(Action<ClientOptions>)

Adds a configuration delegate that gets executed for all clients.

ConfigureDefaults(IConfiguration)

Source:
AzureClientFactoryBuilder.cs

Adds a configuration instance to initialize all clients from.

public Microsoft.Extensions.Azure.AzureClientFactoryBuilder ConfigureDefaults (Microsoft.Extensions.Configuration.IConfiguration configuration);
member this.ConfigureDefaults : Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Azure.AzureClientFactoryBuilder
Public Function ConfigureDefaults (configuration As IConfiguration) As AzureClientFactoryBuilder

Parameters

configuration
IConfiguration

The configuration instance.

Returns

This instance.

Applies to

ConfigureDefaults(Action<ClientOptions,IServiceProvider>)

Source:
AzureClientFactoryBuilder.cs

Adds a configuration delegate that gets executed for all clients.

public Microsoft.Extensions.Azure.AzureClientFactoryBuilder ConfigureDefaults (Action<Azure.Core.ClientOptions,IServiceProvider> configureOptions);
member this.ConfigureDefaults : Action<Azure.Core.ClientOptions, IServiceProvider> -> Microsoft.Extensions.Azure.AzureClientFactoryBuilder
Public Function ConfigureDefaults (configureOptions As Action(Of ClientOptions, IServiceProvider)) As AzureClientFactoryBuilder

Parameters

configureOptions
Action<ClientOptions,IServiceProvider>

The configuration delegate.

Returns

This instance.

Applies to

ConfigureDefaults(Action<ClientOptions>)

Source:
AzureClientFactoryBuilder.cs

Adds a configuration delegate that gets executed for all clients.

public Microsoft.Extensions.Azure.AzureClientFactoryBuilder ConfigureDefaults (Action<Azure.Core.ClientOptions> configureOptions);
member this.ConfigureDefaults : Action<Azure.Core.ClientOptions> -> Microsoft.Extensions.Azure.AzureClientFactoryBuilder
Public Function ConfigureDefaults (configureOptions As Action(Of ClientOptions)) As AzureClientFactoryBuilder

Parameters

configureOptions
Action<ClientOptions>

The configuration delegate.

Returns

This instance.

Applies to