EventLogLogger 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
EventLogLogger(String) |
Initializes a new instance of the EventLogLogger class. |
EventLogLogger(String, EventLogSettings) |
Initializes a new instance of the EventLogLogger class. |
EventLogLogger(String, EventLogSettings, IExternalScopeProvider) |
Initializes a new instance of the EventLogLogger class. |
EventLogLogger(String)
Initializes a new instance of the EventLogLogger class.
public:
EventLogLogger(System::String ^ name);
public EventLogLogger (string name);
new Microsoft.Extensions.Logging.EventLog.EventLogLogger : string -> Microsoft.Extensions.Logging.EventLog.EventLogLogger
Public Sub New (name As String)
Parameters
- name
- String
The name of the logger.
Applies to
EventLogLogger(String, EventLogSettings)
Initializes a new instance of the EventLogLogger class.
public:
EventLogLogger(System::String ^ name, Microsoft::Extensions::Logging::EventLog::EventLogSettings ^ settings);
public EventLogLogger (string name, Microsoft.Extensions.Logging.EventLog.EventLogSettings settings);
new Microsoft.Extensions.Logging.EventLog.EventLogLogger : string * Microsoft.Extensions.Logging.EventLog.EventLogSettings -> Microsoft.Extensions.Logging.EventLog.EventLogLogger
Public Sub New (name As String, settings As EventLogSettings)
Parameters
- name
- String
The name of the logger.
- settings
- EventLogSettings
The EventLogSettings.
Applies to
EventLogLogger(String, EventLogSettings, IExternalScopeProvider)
Initializes a new instance of the EventLogLogger class.
public:
EventLogLogger(System::String ^ name, Microsoft::Extensions::Logging::EventLog::EventLogSettings ^ settings, Microsoft::Extensions::Logging::IExternalScopeProvider ^ externalScopeProvider);
public EventLogLogger (string name, Microsoft.Extensions.Logging.EventLog.EventLogSettings settings, Microsoft.Extensions.Logging.IExternalScopeProvider externalScopeProvider);
new Microsoft.Extensions.Logging.EventLog.EventLogLogger : string * Microsoft.Extensions.Logging.EventLog.EventLogSettings * Microsoft.Extensions.Logging.IExternalScopeProvider -> Microsoft.Extensions.Logging.EventLog.EventLogLogger
Public Sub New (name As String, settings As EventLogSettings, externalScopeProvider As IExternalScopeProvider)
Parameters
- name
- String
The name of the logger.
- settings
- EventLogSettings
The EventLogSettings.
- externalScopeProvider
- IExternalScopeProvider
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor