AzureClientServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure clients builder extensions for IServiceCollection.
public static class AzureClientServiceCollectionExtensions
type AzureClientServiceCollectionExtensions = class
Public Module AzureClientServiceCollectionExtensions
- Inheritance
-
AzureClientServiceCollectionExtensions
Methods
AddAzureClients(IServiceCollection, Action<AzureClientFactoryBuilder>) |
Adds the IAzureClientFactory<TClient> and related services to the IServiceCollection. Azure SDK log forwarding to ILogger is enabled once the configured client is created. |
AddAzureClientsCore(IServiceCollection) |
Adds the minimum essential Azure SDK interop services like AzureEventSourceLogForwarder and AzureComponentFactory to the specified IServiceCollection without registering any client types. Azure SDK log forwarding to ILogger is disabled by default. It can be enabled by calling the Start() method. Alternatively, you can use the Microsoft.Extensions.Azure.AzureClientServiceCollectionExtensions.AddAzureClientsCore(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Boolean) overload and pass true to enable log forwarding. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기