EventLogNotFoundException Construtores

Definição

Inicializa uma nova instância da classe EventLogNotFoundException.

Sobrecargas

Nome Description
EventLogNotFoundException()

Inicializa uma nova instância da classe EventLogNotFoundException.

EventLogNotFoundException(String)

Inicializa uma nova instância da EventLogNotFoundException classe especificando a mensagem de erro que descreve a exceção atual.

EventLogNotFoundException(SerializationInfo, StreamingContext)
Obsoleto.

Inicializa uma nova instância da EventLogNotFoundException classe com dados serializados.

EventLogNotFoundException(String, Exception)

Inicializa uma nova instância da EventLogNotFoundException classe com uma mensagem de erro e uma exceção interna.

EventLogNotFoundException()

Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs

Inicializa uma nova instância da classe EventLogNotFoundException.

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

Aplica-se a

EventLogNotFoundException(String)

Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs

Inicializa uma nova instância da EventLogNotFoundException classe especificando a mensagem de erro que descreve a exceção atual.

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)

Parâmetros

message
String

A mensagem de erro que descreve a exceção atual.

Aplica-se a

EventLogNotFoundException(SerializationInfo, StreamingContext)

Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs

Cuidado

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

Inicializa uma nova instância da EventLogNotFoundException classe com dados serializados.

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)

Parâmetros

serializationInfo
SerializationInfo

O SerializationInfo objeto que contém os dados do objeto serializado sobre a exceção gerada.

streamingContext
StreamingContext

O StreamingContext objeto que contém informações contextuais sobre a origem ou o destino.

Atributos

Aplica-se a

EventLogNotFoundException(String, Exception)

Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs
Origem:
EventLogException.cs

Inicializa uma nova instância da EventLogNotFoundException classe com uma mensagem de erro e uma exceção interna.

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)

Parâmetros

message
String

A mensagem de erro que descreve a exceção atual.

innerException
Exception

A instância de exceção que causou a exceção atual.

Aplica-se a