EventLogProviderDisabledException Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe EventLogProviderDisabledException.
Surcharges
| Nom | Description |
|---|---|
| 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
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
Initialise une nouvelle instance de la classe EventLogProviderDisabledException.
public:
EventLogProviderDisabledException();
public EventLogProviderDisabledException();
Public Sub New ()
S’applique à
EventLogProviderDisabledException(String)
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- 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écrit l’exception actuelle.
S’applique à
EventLogProviderDisabledException(SerializationInfo, StreamingContext)
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- 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);
[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)
Paramètres
- serializationInfo
- SerializationInfo
Objet SerializationInfo qui contient les données d’objet sérialisées sur l’exception levée.
- streamingContext
- StreamingContext
Objet StreamingContext qui contient des informations contextuelles sur la source ou la destination.
- Attributs
S’applique à
EventLogProviderDisabledException(String, Exception)
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- Source:
- EventLogException.cs
- 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écrit l’exception actuelle.
- innerException
- Exception
Instance d’exception qui a provoqué l’exception actuelle.