EventLogProviderDisabledException Constructores

Definición

Inicializa una nueva instancia de la clase EventLogProviderDisabledException.

Sobrecargas

EventLogProviderDisabledException()

Inicializa una nueva instancia de la clase EventLogProviderDisabledException.

EventLogProviderDisabledException(String)

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

EventLogProviderDisabledException(SerializationInfo, StreamingContext)
Obsoletos.

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

EventLogProviderDisabledException(String, Exception)

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

EventLogProviderDisabledException()

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

Inicializa una nueva instancia de la clase EventLogProviderDisabledException.

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

Consulte también

Se aplica a

EventLogProviderDisabledException(String)

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

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

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

Parámetros

message
String

Mensaje de error que describe la excepción actual.

Consulte también

Se aplica a

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

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

Consulte también

Se aplica a

EventLogProviderDisabledException(String, Exception)

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

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

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

Consulte también

Se aplica a