EventLogConfiguration Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert ein neues EventLogConfiguration Objekt.
Überlädt
| Name | Beschreibung |
|---|---|
| EventLogConfiguration(String) |
Initialisiert ein neues EventLogConfiguration Objekt, indem das lokale Ereignisprotokoll angegeben wird, für das Informationen und Konfigurationseinstellungen abgerufen werden sollen. |
| EventLogConfiguration(String, EventLogSession) |
Initialisiert ein neues EventLogConfiguration Objekt, indem der Name des Protokolls angegeben wird, für das Informationen und Konfigurationseinstellungen abgerufen werden sollen. Das Protokoll kann sich auf dem lokalen Computer oder einem Remotecomputer befinden, basierend auf der angegebenen Ereignisprotokollsitzung. |
EventLogConfiguration(String)
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
Initialisiert ein neues EventLogConfiguration Objekt, indem das lokale Ereignisprotokoll angegeben wird, für das Informationen und Konfigurationseinstellungen abgerufen werden sollen.
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)
Parameter
- logName
- String
Der Name des lokalen Ereignisprotokolls, für das Informationen und Konfigurationseinstellungen abgerufen werden sollen.
Gilt für:
EventLogConfiguration(String, EventLogSession)
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
- Quelle:
- EventLogConfiguration.cs
Initialisiert ein neues EventLogConfiguration Objekt, indem der Name des Protokolls angegeben wird, für das Informationen und Konfigurationseinstellungen abgerufen werden sollen. Das Protokoll kann sich auf dem lokalen Computer oder einem Remotecomputer befinden, basierend auf der angegebenen Ereignisprotokollsitzung.
public:
EventLogConfiguration(System::String ^ logName, System::Diagnostics::Eventing::Reader::EventLogSession ^ session);
public EventLogConfiguration(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
[<System.Security.SecurityCritical>]
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)
Parameter
- logName
- String
Der Name des Ereignisprotokolls, für das Informationen und Konfigurationseinstellungen abgerufen werden sollen.
- session
- EventLogSession
Die Ereignisprotokollsitzung, die verwendet wird, um den Ereignisprotokolldienst zu bestimmen, zu dem das angegebene Protokoll gehört. Die Sitzung ist entweder mit dem Ereignisprotokolldienst auf dem lokalen Computer oder einem Remotecomputer verbunden.
- Attribute