Partager via


EventLogProviderDisabledException Constructeurs

Définition

Initialise une nouvelle instance de la classe EventLogProviderDisabledException.

Surcharges

EventLogProviderDisabledException()

Initialise une nouvelle instance de la classe EventLogProviderDisabledException.

EventLogProviderDisabledException(String)

Initialise une nouvelle instance de la classe EventLogProviderDisabledException en spécifiant le message d'erreur qui décrit l'exception actuelle.

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
Obsolète.

Initialise une nouvelle instance de la classe EventLogProviderDisabledException avec des données sérialisées.

EventLogProviderDisabledException(String, Exception)

Initialise une nouvelle instance de la classe EventLogProviderDisabledException avec un message d'erreur et une exception interne.

EventLogProviderDisabledException()

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Initialise une nouvelle instance de la classe EventLogProviderDisabledException.

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

Voir aussi

S’applique à

EventLogProviderDisabledException(String)

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Initialise une nouvelle instance de la classe EventLogProviderDisabledException en spécifiant le message d'erreur qui décrit l'exception actuelle.

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)

Paramètres

message
String

Message d'erreur qui décri l'exception actuelle.

Voir aussi

S’applique à

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Attention

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

Initialise une nouvelle instance de la classe EventLogProviderDisabledException avec des données sérialisées.

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)

Paramètres

serializationInfo
SerializationInfo

Objet SerializationInfo qui contient les données de l'objet sérialisé concernant l'exception levée.

streamingContext
StreamingContext

Objet StreamingContext qui contient les informations contextuelles relatives à la source ou à la destination.

Attributs

Voir aussi

S’applique à

EventLogProviderDisabledException(String, Exception)

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Initialise une nouvelle instance de la classe EventLogProviderDisabledException avec un message d'erreur et une exception interne.

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)

Paramètres

message
String

Message d'erreur qui décri l'exception actuelle.

innerException
Exception

Instance d'exception qui a provoqué l'exception actuelle.

Voir aussi

S’applique à