RuntimeBinderInternalCompilerException Construtores

Definição

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException com uma mensagem fornecida pelo sistema que descreve o erro.Initializes a new instance of the RuntimeBinderInternalCompilerException class with a system-supplied message that describes the error.

Sobrecargas

RuntimeBinderInternalCompilerException()

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException com uma mensagem fornecida pelo sistema que descreve o erro.Initializes a new instance of the RuntimeBinderInternalCompilerException class with a system-supplied message that describes the error.

RuntimeBinderInternalCompilerException(String)

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException com uma mensagem especificada que descreve o erro.Initializes a new instance of the RuntimeBinderInternalCompilerException class with a specified message that describes the error.

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)

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

RuntimeBinderInternalCompilerException(String, Exception)

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException que tem uma mensagem de erro especificada e uma referência à exceção interna que é a causa dessa exceção.Initializes a new instance of the RuntimeBinderInternalCompilerException class that has a specified error message and a reference to the inner exception that is the cause of this exception.

RuntimeBinderInternalCompilerException()

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException com uma mensagem fornecida pelo sistema que descreve o erro.Initializes a new instance of the RuntimeBinderInternalCompilerException class with a system-supplied message that describes the error.

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

Comentários

Este construtor inicializa a propriedade Message da nova instância para uma mensagem fornecida pelo sistema que descreve o erro, como "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply". Essa mensagem leva em conta a cultura do sistema atual.This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" This message takes into account the current system culture.

A tabela a seguir mostra os valores de propriedade inicial de uma instância de InsufficientMemoryException.The following table shows the initial property values for an instance of InsufficientMemoryException.

PropriedadeProperty ValorValue
InnerException null.null.
Message A cadeia de caracteres da mensagem de erro localizada.The localized error message string.

Aplica-se a

RuntimeBinderInternalCompilerException(String)

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException com uma mensagem especificada que descreve o erro.Initializes a new instance of the RuntimeBinderInternalCompilerException class with a specified message that describes the error.

public:
 RuntimeBinderInternalCompilerException(System::String ^ message);
public RuntimeBinderInternalCompilerException (string message);
public RuntimeBinderInternalCompilerException (string? message);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : string -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
Public Sub New (message As String)

Parâmetros

message
String

A mensagem que descreve a exceção.The message that describes the exception. O chamador deste construtor é obrigatório para garantir que esta cadeia de caracteres foi localizada para a cultura do sistema atual.The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Comentários

A tabela a seguir mostra os valores de propriedade inicial de uma instância de RuntimeBinderInternalCompilerException.The following table shows the initial property values for an instance of RuntimeBinderInternalCompilerException.

PropriedadeProperty ValorValue
InnerException null.null.
Message A cadeia da mensagem de erro especificada na message.The error message string specified in message.

Aplica-se a

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)

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

protected:
 RuntimeBinderInternalCompilerException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RuntimeBinderInternalCompilerException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parâmetros

info
SerializationInfo

O SerializationInfo que mantém os dados de objeto serializados sobre a exceção que está sendo lançada.The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

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

Comentários

O construtor é chamado durante a desserialização para reconstituir o objeto de exceção transmitido em um fluxo.This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

Aplica-se a

RuntimeBinderInternalCompilerException(String, Exception)

Inicializa uma nova instância da classe RuntimeBinderInternalCompilerException que tem uma mensagem de erro especificada e uma referência à exceção interna que é a causa dessa exceção.Initializes a new instance of the RuntimeBinderInternalCompilerException class that has a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 RuntimeBinderInternalCompilerException(System::String ^ message, Exception ^ innerException);
public RuntimeBinderInternalCompilerException (string message, Exception innerException);
public RuntimeBinderInternalCompilerException (string? message, Exception? innerException);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : string * Exception -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
Public Sub New (message As String, innerException As Exception)

Parâmetros

message
String

A mensagem de erro que explica a razão da exceção.The error message that explains the reason for the exception.

innerException
Exception

A exceção que é a causa da exceção atual ou uma referência nula se nenhuma exceção interna é especificada.The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Comentários

Uma exceção que é lançada como um resultado direto de uma exceção anterior deve incluir uma referência para a exceção anterior na propriedade InnerException.An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. A propriedade InnerException retorna o mesmo valor passado ao construtor, ou null se a propriedade InnerException não fornecer o valor da exceção interna ao construtor.The InnerException property returns the same value that is passed into the constructor, or null if the InnerException property does not supply the inner exception value to the constructor.

A tabela a seguir mostra os valores de propriedade inicial de uma instância de RuntimeBinderInternalCompilerException.The following table shows the initial property values for an instance of RuntimeBinderInternalCompilerException.

PropriedadeProperty ValorValue
InnerException null.null.
Message A cadeia da mensagem de erro especificada na message.The error message string specified in message.

Aplica-se a