EventLogConfiguration EventLogConfiguration EventLogConfiguration EventLogConfiguration Constructors

Definition

Overloads

EventLogConfiguration(String) EventLogConfiguration(String) EventLogConfiguration(String) EventLogConfiguration(String)

Initializes a new EventLogConfiguration object by specifying the local event log for which to get information and configuration settings.

EventLogConfiguration(String, EventLogSession) EventLogConfiguration(String, EventLogSession) EventLogConfiguration(String, EventLogSession) EventLogConfiguration(String, EventLogSession)

Initializes a new EventLogConfiguration object by specifying the name of the log for which to get information and configuration settings. The log can be on the local computer or a remote computer, based on the event log session specified.

EventLogConfiguration(String) EventLogConfiguration(String) EventLogConfiguration(String) EventLogConfiguration(String)

Initializes a new EventLogConfiguration object by specifying the local event log for which to get information and configuration settings.

public:
 EventLogConfiguration(System::String ^ logName);
public EventLogConfiguration (string logName);
new System.Diagnostics.Eventing.Reader.EventLogConfiguration : string -> System.Diagnostics.Eventing.Reader.EventLogConfiguration
Public Sub New (logName As String)

Parameters

logName
String String String String

The name of the local event log for which to get information and configuration settings.

See also

EventLogConfiguration(String, EventLogSession) EventLogConfiguration(String, EventLogSession) EventLogConfiguration(String, EventLogSession) EventLogConfiguration(String, EventLogSession)

Initializes a new EventLogConfiguration object by specifying the name of the log for which to get information and configuration settings. The log can be on the local computer or a remote computer, based on the event log session specified.

public:
 EventLogConfiguration(System::String ^ logName, System::Diagnostics::Eventing::Reader::EventLogSession ^ session);
[System.Security.SecurityCritical]
public EventLogConfiguration (string logName, System.Diagnostics.Eventing.Reader.EventLogSession session);
new System.Diagnostics.Eventing.Reader.EventLogConfiguration : string * System.Diagnostics.Eventing.Reader.EventLogSession -> System.Diagnostics.Eventing.Reader.EventLogConfiguration
Public Sub New (logName As String, session As EventLogSession)

Parameters

logName
String String String String

The name of the event log for which to get information and configuration settings.

session
EventLogSession EventLogSession EventLogSession EventLogSession

The event log session used to determine the event log service that the specified log belongs to. The session is either connected to the event log service on the local computer or a remote computer.

See also

Applies to