EventLogProviderDisabledException Construtores

Definição

Inicializa uma nova instância da classe EventLogProviderDisabledException.Initializes a new instance of the EventLogProviderDisabledException class.

Sobrecargas

EventLogProviderDisabledException()

Inicializa uma nova instância da classe EventLogProviderDisabledException.Initializes a new instance of the EventLogProviderDisabledException class.

EventLogProviderDisabledException(String)

Inicializa uma nova instância da classe EventLogProviderDisabledException especificando a mensagem de erro que descreve a exceção atual.Initializes a new instance of the EventLogProviderDisabledException class by specifying the error message that describes the current exception.

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Inicializa uma nova instância da classe EventLogProviderDisabledException com dados serializados.Initializes a new instance of the EventLogProviderDisabledException class with serialized data.

EventLogProviderDisabledException(String, Exception)

Inicializa uma nova instância da classe EventLogProviderDisabledException com uma mensagem de erro e exceção interna.Initializes a new instance of the EventLogProviderDisabledException class with an error message and inner exception.

EventLogProviderDisabledException()

Inicializa uma nova instância da classe EventLogProviderDisabledException.Initializes a new instance of the EventLogProviderDisabledException class.

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

Aplica-se a

EventLogProviderDisabledException(String)

Inicializa uma nova instância da classe EventLogProviderDisabledException especificando a mensagem de erro que descreve a exceção atual.Initializes a new instance of the EventLogProviderDisabledException class by specifying the error message that describes the current exception.

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

A mensagem de erro que descreve a exceção atual.The error message that describes the current exception.

Aplica-se a

EventLogProviderDisabledException(SerializationInfo, StreamingContext)

Inicializa uma nova instância da classe EventLogProviderDisabledException com dados serializados.Initializes a new instance of the EventLogProviderDisabledException class with serialized data.

protected:
 EventLogProviderDisabledException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
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
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parâmetros

serializationInfo
SerializationInfo

O objeto SerializationInfo que contém os dados de objeto serializados sobre a exceção que é gerada.The SerializationInfo object that holds the serialized object data about the exception thrown.

streamingContext
StreamingContext

O objeto StreamingContext que contém as informações contextuais sobre a origem ou o destino.The StreamingContext object that contains contextual information about the source or destination.

Aplica-se a

EventLogProviderDisabledException(String, Exception)

Inicializa uma nova instância da classe EventLogProviderDisabledException com uma mensagem de erro e exceção interna.Initializes a new instance of the EventLogProviderDisabledException class with an error message and inner exception.

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

A mensagem de erro que descreve a exceção atual.The error message that describes the current exception.

innerException
Exception

A instância Exception que causou a exceção atual.The Exception instance that caused the current exception.

Aplica-se a