共用方式為


EventLogLoggerProvider Constructors

Definition

Overloads

EventLogLoggerProvider()

Initializes a new instance of the EventLogLoggerProvider class.

EventLogLoggerProvider(EventLogSettings)

Initializes a new instance of the EventLogLoggerProvider class.

EventLogLoggerProvider(IOptions<EventLogSettings>)

Initializes a new instance of the EventLogLoggerProvider class.

EventLogLoggerProvider()

Source:
EventLogLoggerProvider.cs
Source:
EventLogLoggerProvider.cs
Source:
EventLogLoggerProvider.cs

Initializes a new instance of the EventLogLoggerProvider class.

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

Applies to

EventLogLoggerProvider(EventLogSettings)

Source:
EventLogLoggerProvider.cs
Source:
EventLogLoggerProvider.cs
Source:
EventLogLoggerProvider.cs

Initializes a new instance of the EventLogLoggerProvider class.

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)

Parameters

Applies to

EventLogLoggerProvider(IOptions<EventLogSettings>)

Source:
EventLogLoggerProvider.cs
Source:
EventLogLoggerProvider.cs
Source:
EventLogLoggerProvider.cs

Initializes a new instance of the EventLogLoggerProvider class.

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))

Parameters

Applies to