DelegatingConfigHost.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 the host for configuration.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual 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 virtual 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
override this.InitForConfiguration : string * string * string * System.Configuration.Internal.IInternalConfigRoot * obj[] -> unit
Public Overridable Sub InitForConfiguration (ByRef locationSubPath As String, ByRef configPath As String, ByRef locationConfigPath As String, configRoot As IInternalConfigRoot, ParamArray hostInitConfigurationParams As Object())
Parameters
- locationSubPath
- String
A string representing a location subpath (passed by reference).
- configPath
- String
A string representing the path to a configuration file.
- locationConfigPath
- String
The location configuration path.
- configRoot
- IInternalConfigRoot
The configuration root element.
- hostInitConfigurationParams
- Object[]
A parameter object representing the parameters used to initialize the host.
Implements
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.