Table of Contents

IHostBuilder.ServiceOptions Method

Sets the identity used when the process runs as a Windows service.

Remarks

Optional: when it is not called, or AName is empty, the executable base name is used as the service name.

Syntax

Unit: Sparkle.Host.Contracts

function IHostBuilder.ServiceOptions(const AName: string; const ADisplayName: string; const ADescription: string): IHostBuilder; virtual; abstract;

Parameters

<-> Parameter Type Description
const AName string
const ADisplayName string
const ADescription string

See also