다음을 통해 공유


SystemdLifetime 생성자

정의

SystemdLifetime 인스턴스를 초기화합니다.

public:
 SystemdLifetime(Microsoft::Extensions::Hosting::IHostEnvironment ^ environment, Microsoft::Extensions::Hosting::IHostApplicationLifetime ^ applicationLifetime, Microsoft::Extensions::Hosting::Systemd::ISystemdNotifier ^ systemdNotifier, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public SystemdLifetime (Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Hosting.Systemd.ISystemdNotifier systemdNotifier, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.Extensions.Hosting.Systemd.SystemdLifetime : Microsoft.Extensions.Hosting.IHostEnvironment * Microsoft.Extensions.Hosting.IHostApplicationLifetime * Microsoft.Extensions.Hosting.Systemd.ISystemdNotifier * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Hosting.Systemd.SystemdLifetime
Public Sub New (environment As IHostEnvironment, applicationLifetime As IHostApplicationLifetime, systemdNotifier As ISystemdNotifier, loggerFactory As ILoggerFactory)

매개 변수

environment
IHostEnvironment

호스트에 대한 정보입니다.

applicationLifetime
IHostApplicationLifetime

IHostApplicationLifetime 서비스 수명을 추적하는 입니다.

systemdNotifier
ISystemdNotifier

ISystemdNotifier Systemd에 서비스 상태 알릴 입니다.

loggerFactory
ILoggerFactory

ILoggerFactory 수명 로거를 인스턴스화하는 데 사용되는 입니다.

적용 대상