Udostępnij za pośrednictwem


EventLogProviderDisabledException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy EventLogProviderDisabledException.

Przeciążenia

EventLogProviderDisabledException()

Inicjuje nowe wystąpienie klasy EventLogProviderDisabledException.

EventLogProviderDisabledException(String)

Inicjuje EventLogProviderDisabledException nowe wystąpienie klasy, określając komunikat o błędzie opisujący bieżący wyjątek.

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie klasy EventLogProviderDisabledException z zserializowanymi danymi.

EventLogProviderDisabledException(String, Exception)

Inicjuje EventLogProviderDisabledException nowe wystąpienie klasy z komunikatem o błędzie i wyjątkiem wewnętrznym.

EventLogProviderDisabledException()

Źródło:
EventLogException.cs
Źródło:
EventLogException.cs
Źródło:
EventLogException.cs

Inicjuje nowe wystąpienie klasy EventLogProviderDisabledException.

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

Zobacz też

Dotyczy

EventLogProviderDisabledException(String)

Źródło:
EventLogException.cs
Źródło:
EventLogException.cs
Źródło:
EventLogException.cs

Inicjuje EventLogProviderDisabledException nowe wystąpienie klasy, określając komunikat o błędzie opisujący bieżący wyjątek.

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)

Parametry

message
String

Komunikat o błędzie opisujący bieżący wyjątek.

Zobacz też

Dotyczy

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Źródło:
EventLogException.cs
Źródło:
EventLogException.cs
Źródło:
EventLogException.cs

Przestroga

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

Inicjuje nowe wystąpienie klasy EventLogProviderDisabledException z zserializowanymi danymi.

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}")]
protected EventLogProviderDisabledException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException
[<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
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parametry

serializationInfo
SerializationInfo

Obiekt SerializationInfo , który przechowuje dane zserializowanego obiektu o zgłoszonym wyjątku.

streamingContext
StreamingContext

StreamingContext Obiekt zawierający kontekstowe informacje o źródle lub miejscu docelowym.

Atrybuty

Zobacz też

Dotyczy

EventLogProviderDisabledException(String, Exception)

Źródło:
EventLogException.cs
Źródło:
EventLogException.cs
Źródło:
EventLogException.cs

Inicjuje EventLogProviderDisabledException nowe wystąpienie klasy z komunikatem o błędzie i wyjątkiem wewnętrznym.

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)

Parametry

message
String

Komunikat o błędzie opisujący bieżący wyjątek.

innerException
Exception

Wystąpienie wyjątku, które spowodowało bieżący wyjątek.

Zobacz też

Dotyczy