Compartir vía


EventLogInvalidDataException Constructores

Definición

Inicializa una nueva instancia de la clase EventLogInvalidDataException.

Sobrecargas

EventLogInvalidDataException()

Inicializa una nueva instancia de la clase EventLogInvalidDataException.

EventLogInvalidDataException(String)

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

EventLogInvalidDataException(SerializationInfo, StreamingContext)
Obsoletos.

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

EventLogInvalidDataException(String, Exception)

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

EventLogInvalidDataException()

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

Inicializa una nueva instancia de la clase EventLogInvalidDataException.

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

Se aplica a

EventLogInvalidDataException(String)

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

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

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

Parámetros

message
String

Mensaje de error que describe la excepción actual.

Se aplica a

EventLogInvalidDataException(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 EventLogInvalidDataException con datos serializados.

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

EventLogInvalidDataException(String, Exception)

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

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

public:
 EventLogInvalidDataException(System::String ^ message, Exception ^ innerException);
public EventLogInvalidDataException (string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogInvalidDataException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogInvalidDataException
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