ServiceEntryPoint.ConfigPath Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 dotnet 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")]
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
- Attributes