ServiceEntryPoint.ConfigPath 属性

定义

获取或设置配置文件的路径。 如果指定此配置文件,则将使用此配置文件来初始化服务 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

属性值

String
属性

适用于