File: WindowsServiceLifetimeOptions.cs | Web Access |
Project: src\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> /// 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; } } |