共用方式為


IAzureClientFactoryBuilderWithCredential Interface

Definition

Abstraction for registering Azure clients that require TokenCredential in dependency injection containers.

public interface IAzureClientFactoryBuilderWithCredential
type IAzureClientFactoryBuilderWithCredential = interface
Public Interface IAzureClientFactoryBuilderWithCredential
Derived

Methods

RegisterClientFactory<TClient,TOptions>(Func<TOptions,TokenCredential,TClient>, Boolean)

Registers a client in dependency injection container the using the factory to create a client instance.

Applies to