EventLogLoggerProvider 构造函数

定义

重载

EventLogLoggerProvider()

初始化 EventLogLoggerProvider 类的新实例。

EventLogLoggerProvider(EventLogSettings)

初始化 EventLogLoggerProvider 类的新实例。

EventLogLoggerProvider(IOptions<EventLogSettings>)

初始化 EventLogLoggerProvider 类的新实例。

EventLogLoggerProvider()

初始化 EventLogLoggerProvider 类的新实例。

public:
 EventLogLoggerProvider();
public EventLogLoggerProvider ();
Public Sub New ()

适用于

EventLogLoggerProvider(EventLogSettings)

初始化 EventLogLoggerProvider 类的新实例。

public:
 EventLogLoggerProvider(Microsoft::Extensions::Logging::EventLog::EventLogSettings ^ settings);
public EventLogLoggerProvider (Microsoft.Extensions.Logging.EventLog.EventLogSettings settings);
public EventLogLoggerProvider (Microsoft.Extensions.Logging.EventLog.EventLogSettings? settings);
new Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider : Microsoft.Extensions.Logging.EventLog.EventLogSettings -> Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider
Public Sub New (settings As EventLogSettings)

参数

适用于

EventLogLoggerProvider(IOptions<EventLogSettings>)

初始化 EventLogLoggerProvider 类的新实例。

public:
 EventLogLoggerProvider(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Logging::EventLog::EventLogSettings ^> ^ options);
public EventLogLoggerProvider (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Logging.EventLog.EventLogSettings> options);
new Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Logging.EventLog.EventLogSettings> -> Microsoft.Extensions.Logging.EventLog.EventLogLoggerProvider
Public Sub New (options As IOptions(Of EventLogSettings))

参数

适用于