EventLogNotFoundException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av EventLogNotFoundException klassen.
Överlagringar
| Name | Description |
|---|---|
| EventLogNotFoundException() |
Initierar en ny instans av EventLogNotFoundException klassen. |
| EventLogNotFoundException(String) |
Initierar en ny instans av EventLogNotFoundException klassen genom att ange det felmeddelande som beskriver det aktuella undantaget. |
| EventLogNotFoundException(SerializationInfo, StreamingContext) |
Initierar en ny instans av EventLogNotFoundException klassen med serialiserade data. |
| EventLogNotFoundException(String, Exception) |
Initierar en ny instans av EventLogNotFoundException klassen med ett felmeddelande och ett inre undantag. |
EventLogNotFoundException()
Initierar en ny instans av EventLogNotFoundException klassen.
public:
EventLogNotFoundException();
public EventLogNotFoundException();
Public Sub New ()
Gäller för
EventLogNotFoundException(String)
Initierar en ny instans av EventLogNotFoundException klassen genom att ange det felmeddelande som beskriver det aktuella undantaget.
public:
EventLogNotFoundException(System::String ^ message);
public EventLogNotFoundException(string message);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : string -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
Public Sub New (message As String)
Parametrar
- message
- String
Felmeddelandet som beskriver det aktuella undantaget.
Gäller för
EventLogNotFoundException(SerializationInfo, StreamingContext)
Initierar en ny instans av EventLogNotFoundException klassen med serialiserade data.
protected:
EventLogNotFoundException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected EventLogNotFoundException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
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.
Gäller för
EventLogNotFoundException(String, Exception)
Initierar en ny instans av EventLogNotFoundException klassen med ett felmeddelande och ett inre undantag.
public:
EventLogNotFoundException(System::String ^ message, Exception ^ innerException);
public EventLogNotFoundException(string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
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.