EventLogNotFoundException Oluşturucular

Tanım

EventLogNotFoundException sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
EventLogNotFoundException()

EventLogNotFoundException sınıfının yeni bir örneğini başlatır.

EventLogNotFoundException(String)

Geçerli özel durumu açıklayan hata iletisini belirterek sınıfın yeni bir örneğini EventLogNotFoundException başlatır.

EventLogNotFoundException(SerializationInfo, StreamingContext)
Geçersiz.

Serileştirilmiş verilerle EventLogNotFoundException sınıfının yeni bir örneğini başlatır.

EventLogNotFoundException(String, Exception)

Hata iletisi ve iç özel durum ile sınıfının yeni bir örneğini EventLogNotFoundException başlatır.

EventLogNotFoundException()

Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs

EventLogNotFoundException sınıfının yeni bir örneğini başlatır.

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

Şunlara uygulanır

EventLogNotFoundException(String)

Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs

Geçerli özel durumu açıklayan hata iletisini belirterek sınıfın yeni bir örneğini EventLogNotFoundException başlatır.

public:
 EventLogNotFoundException(System::String ^ message);
public EventLogNotFoundException(string? message);
public EventLogNotFoundException(string message);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : string -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
Public Sub New (message As String)

Parametreler

message
String

Geçerli özel durumu açıklayan hata iletisi.

Şunlara uygulanır

EventLogNotFoundException(SerializationInfo, StreamingContext)

Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs

Dikkat

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

Serileştirilmiş verilerle EventLogNotFoundException sınıfının yeni bir örneğini başlatır.

protected:
 EventLogNotFoundException(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 EventLogNotFoundException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected EventLogNotFoundException(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.EventLogNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
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)

Parametreler

serializationInfo
SerializationInfo

Oluşan SerializationInfo özel durumla ilgili serileştirilmiş nesne verilerini tutan nesne.

streamingContext
StreamingContext

StreamingContext Kaynak veya hedef hakkında bağlamsal bilgiler içeren nesne.

Öznitelikler

Şunlara uygulanır

EventLogNotFoundException(String, Exception)

Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs
Kaynak:
EventLogException.cs

Hata iletisi ve iç özel durum ile sınıfının yeni bir örneğini EventLogNotFoundException başlatır.

public:
 EventLogNotFoundException(System::String ^ message, Exception ^ innerException);
public EventLogNotFoundException(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)

Parametreler

message
String

Geçerli özel durumu açıklayan hata iletisi.

innerException
Exception

Geçerli özel duruma neden olan Özel Durum örneği.

Şunlara uygulanır