SystemdLifetime Konstruktor

Definition

Initialisiert eine neue Instanz von 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)

Parameter

environment
IHostEnvironment

Informationen zum Host.

applicationLifetime
IHostApplicationLifetime

Die IHostApplicationLifetime , die die Dienstlebensdauer nachverfolgt.

systemdNotifier
ISystemdNotifier

Die ISystemdNotifier , die Systemd über dienst status benachrichtigen soll.

loggerFactory
ILoggerFactory

Die ILoggerFactory , die zum Instanziieren der Lebensdauerprotokollierung verwendet wird.

Gilt für: