ILoggerProviderConfigurationFactory.GetConfiguration(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回與記錄器提供者建立關聯的組態區段。
public:
Microsoft::Extensions::Configuration::IConfiguration ^ GetConfiguration(Type ^ providerType);
public Microsoft.Extensions.Configuration.IConfiguration GetConfiguration (Type providerType);
abstract member GetConfiguration : Type -> Microsoft.Extensions.Configuration.IConfiguration
Public Function GetConfiguration (providerType As Type) As IConfiguration
參數
- providerType
- Type
記錄器提供者類型。
傳回
指定 providerType
的 IConfiguration。