Freigeben über


EventLogProviderDisabledException Konstruktoren

Definition

Initialisiert eine neue Instanz der EventLogProviderDisabledException-Klasse.

Überlädt

Name Beschreibung
EventLogProviderDisabledException()

Initialisiert eine neue Instanz der EventLogProviderDisabledException-Klasse.

EventLogProviderDisabledException(String)

Initialisiert eine neue Instanz der EventLogProviderDisabledException Klasse, indem die Fehlermeldung angegeben wird, die die aktuelle Ausnahme beschreibt.

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
Veraltet.

Initialisiert eine neue Instanz der EventLogProviderDisabledException Klasse mit serialisierten Daten.

EventLogProviderDisabledException(String, Exception)

Initialisiert eine neue Instanz der EventLogProviderDisabledException Klasse mit einer Fehlermeldung und einer inneren Ausnahme.

EventLogProviderDisabledException()

Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs

Initialisiert eine neue Instanz der EventLogProviderDisabledException-Klasse.

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

Gilt für:

EventLogProviderDisabledException(String)

Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs

Initialisiert eine neue Instanz der EventLogProviderDisabledException Klasse, indem die Fehlermeldung angegeben wird, die die aktuelle Ausnahme beschreibt.

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

Parameter

message
String

Die Fehlermeldung, die die aktuelle Ausnahme beschreibt.

Gilt für:

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs

Achtung

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initialisiert eine neue Instanz der EventLogProviderDisabledException Klasse mit serialisierten Daten.

protected:
 EventLogProviderDisabledException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected EventLogProviderDisabledException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected EventLogProviderDisabledException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameter

serializationInfo
SerializationInfo

Das SerializationInfo Objekt, das die serialisierten Objektdaten zu der ausgelösten Ausnahme enthält.

streamingContext
StreamingContext

Das StreamingContext Objekt, das Kontextinformationen zur Quelle oder zum Ziel enthält.

Attribute

Gilt für:

EventLogProviderDisabledException(String, Exception)

Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs
Quelle:
EventLogException.cs

Initialisiert eine neue Instanz der EventLogProviderDisabledException Klasse mit einer Fehlermeldung und einer inneren Ausnahme.

public:
 EventLogProviderDisabledException(System::String ^ message, Exception ^ innerException);
public EventLogProviderDisabledException(string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
Public Sub New (message As String, innerException As Exception)

Parameter

message
String

Die Fehlermeldung, die die aktuelle Ausnahme beschreibt.

innerException
Exception

Die Ausnahmeinstanz, die die aktuelle Ausnahme verursacht hat.

Gilt für: