EventLogProviderDisabledException Konstruktorer

Definition

Initierar en ny instans av EventLogProviderDisabledException klassen.

Överlagringar

Name Description
EventLogProviderDisabledException()

Initierar en ny instans av EventLogProviderDisabledException klassen.

EventLogProviderDisabledException(String)

Initierar en ny instans av EventLogProviderDisabledException klassen genom att ange det felmeddelande som beskriver det aktuella undantaget.

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
Föråldrad.

Initierar en ny instans av EventLogProviderDisabledException klassen med serialiserade data.

EventLogProviderDisabledException(String, Exception)

Initierar en ny instans av EventLogProviderDisabledException klassen med ett felmeddelande och ett inre undantag.

EventLogProviderDisabledException()

Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs

Initierar en ny instans av EventLogProviderDisabledException klassen.

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

Se även

Gäller för

EventLogProviderDisabledException(String)

Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs

Initierar en ny instans av EventLogProviderDisabledException klassen genom att ange det felmeddelande som beskriver det aktuella undantaget.

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

Parametrar

message
String

Felmeddelandet som beskriver det aktuella undantaget.

Se även

Gäller för

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs

Varning

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

Initierar en ny instans av EventLogProviderDisabledException klassen med serialiserade data.

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)

Parametrar

serializationInfo
SerializationInfo

Objektet SerializationInfo som innehåller serialiserade objektdata om undantaget som genereras.

streamingContext
StreamingContext

Objektet StreamingContext som innehåller kontextuell information om källan eller målet.

Attribut

Se även

Gäller för

EventLogProviderDisabledException(String, Exception)

Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs
Källa:
EventLogException.cs

Initierar en ny instans av EventLogProviderDisabledException klassen med ett felmeddelande och ett inre undantag.

public:
 EventLogProviderDisabledException(System::String ^ message, Exception ^ innerException);
public EventLogProviderDisabledException(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)

Parametrar

message
String

Felmeddelandet som beskriver det aktuella undantaget.

innerException
Exception

Undantagsinstansen som orsakade det aktuella undantaget.

Se även

Gäller för