EventLogReadingException Construtores
Definição
Inicializa uma nova instância da classe EventLogReadingException.Initializes a new instance of the EventLogReadingException class.
Sobrecargas
| EventLogReadingException() |
Inicializa uma nova instância da classe EventLogReadingException.Initializes a new instance of the EventLogReadingException class. |
| EventLogReadingException(String) |
Inicializa uma nova instância da classe EventLogReadingException especificando a mensagem de erro que descreve a exceção atual.Initializes a new instance of the EventLogReadingException class by specifying the error message that describes the current exception. |
| EventLogReadingException(SerializationInfo, StreamingContext) |
Inicializa uma nova instância da classe EventLogReadingException com dados serializados.Initializes a new instance of the EventLogReadingException class with serialized data. |
| EventLogReadingException(String, Exception) |
Inicializa uma nova instância da classe EventLogReadingException com uma mensagem de erro e exceção interna.Initializes a new instance of the EventLogReadingException class with an error message and inner exception. |
EventLogReadingException()
Inicializa uma nova instância da classe EventLogReadingException.Initializes a new instance of the EventLogReadingException class.
public:
EventLogReadingException();
public EventLogReadingException ();
Public Sub New ()
Aplica-se a
EventLogReadingException(String)
Inicializa uma nova instância da classe EventLogReadingException especificando a mensagem de erro que descreve a exceção atual.Initializes a new instance of the EventLogReadingException class by specifying the error message that describes the current exception.
public:
EventLogReadingException(System::String ^ message);
public EventLogReadingException (string message);
new System.Diagnostics.Eventing.Reader.EventLogReadingException : string -> System.Diagnostics.Eventing.Reader.EventLogReadingException
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
EventLogReadingException(SerializationInfo, StreamingContext)
Inicializa uma nova instância da classe EventLogReadingException com dados serializados.Initializes a new instance of the EventLogReadingException class with serialized data.
protected:
EventLogReadingException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected EventLogReadingException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Diagnostics.Eventing.Reader.EventLogReadingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogReadingException
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
EventLogReadingException(String, Exception)
Inicializa uma nova instância da classe EventLogReadingException com uma mensagem de erro e exceção interna.Initializes a new instance of the EventLogReadingException class with an error message and inner exception.
public:
EventLogReadingException(System::String ^ message, Exception ^ innerException);
public EventLogReadingException (string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogReadingException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogReadingException
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.