IInternalConfigHost.InitForConfiguration Method
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.
Initializes a configuration object.
public:
void InitForConfiguration(System::String ^ % locationSubPath, [Runtime::InteropServices::Out] System::String ^ % configPath, [Runtime::InteropServices::Out] System::String ^ % locationConfigPath, System::Configuration::Internal::IInternalConfigRoot ^ configRoot, ... cli::array <System::Object ^> ^ hostInitConfigurationParams);
public void InitForConfiguration (ref string locationSubPath, out string configPath, out string locationConfigPath, System.Configuration.Internal.IInternalConfigRoot configRoot, params object[] hostInitConfigurationParams);
abstract member InitForConfiguration : string * string * string * System.Configuration.Internal.IInternalConfigRoot * obj[] -> unit
Public Sub InitForConfiguration (ByRef locationSubPath As String, ByRef configPath As String, ByRef locationConfigPath As String, configRoot As IInternalConfigRoot, ParamArray hostInitConfigurationParams As Object())
Parameters
- locationSubPath
- String
The subpath location of the configuration file.
- configPath
- String
A string representing the path of the application configuration file.
- locationConfigPath
- String
A string representing the location of a configuration path.
- configRoot
- IInternalConfigRoot
The IInternalConfigRoot object.
- hostInitConfigurationParams
- Object[]
The parameter object containing the values used for initializing the configuration host.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per