EventLogReadingException 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 EventLogReadingException.
Surcharges
| Nom | Description |
|---|---|
| EventLogReadingException() |
Initialise une nouvelle instance de la classe EventLogReadingException. |
| EventLogReadingException(String) |
Initialise une nouvelle instance de la EventLogReadingException classe en spécifiant le message d’erreur qui décrit l’exception actuelle. |
| EventLogReadingException(SerializationInfo, StreamingContext) |
Obsolète.
Initialise une nouvelle instance de la classe EventLogReadingException avec des données sérialisées. |
| EventLogReadingException(String, Exception) |
Initialise une nouvelle instance de la EventLogReadingException classe avec un message d’erreur et une exception interne. |
EventLogReadingException()
- 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 EventLogReadingException.
public:
EventLogReadingException();
public EventLogReadingException();
Public Sub New ()
Voir aussi
- Résumé de la technologie pour la lecture et la gestion des journaux d’événements
- Scénarios de journal des événements
S’applique à
EventLogReadingException(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 EventLogReadingException classe en spécifiant le message d’erreur qui décrit l’exception actuelle.
public:
EventLogReadingException(System::String ^ message);
public EventLogReadingException(string? message);
public EventLogReadingException(string message);
new System.Diagnostics.Eventing.Reader.EventLogReadingException : string -> System.Diagnostics.Eventing.Reader.EventLogReadingException
Public Sub New (message As String)
Paramètres
- message
- String
Message d’erreur qui décrit l’exception actuelle.
Voir aussi
- Résumé de la technologie pour la lecture et la gestion des journaux d’événements
- Scénarios de journal des événements
S’applique à
EventLogReadingException(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 EventLogReadingException avec des données sérialisées.
protected:
EventLogReadingException(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 EventLogReadingException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected EventLogReadingException(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.EventLogReadingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogReadingException
new System.Diagnostics.Eventing.Reader.EventLogReadingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogReadingException
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
Voir aussi
- Résumé de la technologie pour la lecture et la gestion des journaux d’événements
- Scénarios de journal des événements
S’applique à
EventLogReadingException(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 EventLogReadingException classe avec un message d’erreur et une exception interne.
public:
EventLogReadingException(System::String ^ message, Exception ^ innerException);
public EventLogReadingException(string? message, Exception? innerException);
public EventLogReadingException(string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogReadingException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogReadingException
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.
Voir aussi
- Résumé de la technologie pour la lecture et la gestion des journaux d’événements
- Scénarios de journal des événements