语言

IInternalConfigHost.CreateDeprecatedConfigContext(String) 方法

定义

创建并返回应用程序配置的已弃用上下文对象。

public:
 System::Object ^ CreateDeprecatedConfigContext(System::String ^ configPath);
public object CreateDeprecatedConfigContext(string configPath);
abstract member CreateDeprecatedConfigContext : string -> obj
Public Function CreateDeprecatedConfigContext (configPath As String) As Object

参数

configPath
String

一个字符串,表示应用程序配置文件的路径。

返回

应用程序配置的已弃用上下文对象。

适用于