ServiceEntryPoint.ConfigPath Property

Definition

Gets or sets the path of the config file. If specified, this config file will be used to initialize the service AppDomain. May be omitted if the config file has the same name (+.config) as the assembly, and resides in the same directory. It is also possible to have the service without the config file. Not applicable for services running inside CoreClr Host processes.

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

Property Value

String
Attributes

Applies to