Compartir vía


EventLogNotFoundException Constructores

Definición

Inicializa una nueva instancia de la clase EventLogNotFoundException.

Sobrecargas

EventLogNotFoundException()

Inicializa una nueva instancia de la clase EventLogNotFoundException.

EventLogNotFoundException(String)

Inicializa una nueva instancia de la clase EventLogNotFoundException especificando el mensaje de error que describe la excepción actual.

EventLogNotFoundException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la clase EventLogNotFoundException con datos serializados.

EventLogNotFoundException(String, Exception)

Inicializa una nueva instancia de la clase EventLogNotFoundException con un mensaje de error y la excepción interna.

EventLogNotFoundException()

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Inicializa una nueva instancia de la clase EventLogNotFoundException.

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

Se aplica a

EventLogNotFoundException(String)

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Inicializa una nueva instancia de la clase EventLogNotFoundException especificando el mensaje de error que describe la excepción actual.

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

Mensaje de error que describe la excepción actual.

Se aplica a

EventLogNotFoundException(SerializationInfo, StreamingContext)

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Precaución

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

Inicializa una nueva instancia de la clase EventLogNotFoundException con datos serializados.

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}")]
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
[<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
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parámetros

serializationInfo
SerializationInfo

Objeto SerializationInfo que contiene los datos del objeto serializado sobre la excepción que se ha producido.

streamingContext
StreamingContext

El objeto StreamingContext que contiene información contextual sobre el origen o el destino.

Atributos

Se aplica a

EventLogNotFoundException(String, Exception)

Source:
EventLogException.cs
Source:
EventLogException.cs
Source:
EventLogException.cs

Inicializa una nueva instancia de la clase EventLogNotFoundException con un mensaje de error y la excepción 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

Mensaje de error que describe la excepción actual.

innerException
Exception

Instancia de Exception que causó la excepción actual.

Se aplica a