DelegatingConfigHost.IsAppConfigHttp 属性

定义

确定应用程序配置文件来自非本地 URI(即 http://)还是为本地文件。Determines if the application configuration file comes from a non-local URI (that is, http://) or is a local file.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual property bool IsAppConfigHttp { bool get(); };
public virtual bool IsAppConfigHttp { get; }
member this.IsAppConfigHttp : bool
Public Overridable ReadOnly Property IsAppConfigHttp As Boolean

属性值

Boolean

true 如果委托主机的部分属于 System.Net ,并使用通过 HTTP 下载应用程序的配置文件 WebClient ,则为; 否则为 falsetrue if the delegated host's sections belong to System.Net and the configuration file for the application is downloaded via HTTP using WebClient; otherwise, false.

适用于