SystemdLifetime Oluşturucu

Tanım

Yeni SystemdLifetime bir örnek başlatır.

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)

Parametreler

environment
IHostEnvironment

Konak hakkında bilgi.

applicationLifetime
IHostApplicationLifetime

IHostApplicationLifetime Hizmet ömrünü izleyen.

systemdNotifier
ISystemdNotifier

Hizmet ISystemdNotifier durumu hakkında Systemd'a bildirimde bulun.

loggerFactory
ILoggerFactory

Yaşam ILoggerFactory süresi günlükçü örneğini başlatmak için kullanılır.

Şunlara uygulanır