ServiceEntryPoint.ConfigPath 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置配置文件的路径。 如果指定此配置文件,则将使用此配置文件来初始化服务 AppDomain。 如果配置文件具有相同的名称 (+ .config) 作为程序集,并驻留在同一目录中,则可以省略。 还可以将该服务设置为不带配置文件。
public:
property System::String ^ ConfigPath { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember(IsRequired=false, Name="configPath")]
public string ConfigPath { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=false, Name="configPath")>]
member this.ConfigPath : string with get, set
Public Property ConfigPath As String
属性值
- 属性