| File: WindowsServiceLifetimeOptions.cs | Web Access |
| Project: src\runtime\src\libraries\Microsoft.Extensions.Hosting.WindowsServices\src\Microsoft.Extensions.Hosting.WindowsServices.csproj (Microsoft.Extensions.Hosting.WindowsServices) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Hosting; namespace Microsoft.Extensions.Hosting { /// <summary> /// Specifies options to configure the lifetime of a Windows service. /// </summary> public class WindowsServiceLifetimeOptions { /// <summary> /// The name used to identify the service to the system. /// </summary> public string ServiceName { get; set; } = string.Empty; } }