IInternalConfigHost.CreateConfigurationContext(String, String) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt und gibt ein Kontextobjekt für eine ConfigurationElement Anwendungskonfiguration zurück.
public:
System::Object ^ CreateConfigurationContext(System::String ^ configPath, System::String ^ locationSubPath);
public object CreateConfigurationContext(string configPath, string locationSubPath);
abstract member CreateConfigurationContext : string * string -> obj
Public Function CreateConfigurationContext (configPath As String, locationSubPath As String) As Object
Parameter
- configPath
- String
Eine Zeichenfolge, die den Pfad der Anwendungskonfigurationsdatei darstellt.
- locationSubPath
- String
Eine Zeichenfolge, die einen Unterpfadspeicherort des Konfigurationselements darstellt.
Gibt zurück
Ein Kontextobjekt für ein ConfigurationElement Objekt einer Anwendungskonfiguration.