EventLogLoggerProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
- settings
- EventLogSettings
The EventLogSettings.
Applies to
EventLogLoggerProvider(IOptions<EventLogSettings>)
- 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
- options
- IOptions<EventLogSettings>
The IOptions<TOptions>.