Share via


ServiceEntryPoint Class

Definition

public ref class ServiceEntryPoint sealed
[System.Runtime.Serialization.DataContract]
[System.Serializable]
public sealed class ServiceEntryPoint
[<System.Runtime.Serialization.DataContract>]
[<System.Serializable>]
type ServiceEntryPoint = class
Public NotInheritable Class ServiceEntryPoint
Inheritance
ServiceEntryPoint
Attributes

Constructors

ServiceEntryPoint()

Properties

AppBasePath

Gets or sets the path of the app base directory. If specified, the app domain created for the service will use this as the app base. If not specified, the assembly's directory will be the app base. Not applicable for services running inside dotnet Host processes.

AssemblyPath

Gets or sets the path of the assembly in which the service end point class is located. If this path is not an absolute path then if ServiceBaseDirectory is set, it'll be combined with file name.

AssemblySearchPathsConfig

Gets or sets the path to a config JSON file used for adding additional assembly search paths.

ConfigPath

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.

ConstructorFunction
FullClassName

Gets or sets the name of the service end point class that will be instantiated for each new client connection.

IsNodeService

Gets a value indicating whether or not this service will run on a Node host.

ScriptPath

Methods

Clone()
WithBaseDirectory(String)

Updates the ServiceEntryPoint so that all relative paths in the will be combined with the supplied baseDirectory.

Applies to