Sdílet prostřednictvím


RuntimeBinderInternalCompilerException Konstruktory

Definice

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy se systémem dodanou zprávu, která popisuje chybu.

Přetížení

RuntimeBinderInternalCompilerException()

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy se systémem dodanou zprávu, která popisuje chybu.

RuntimeBinderInternalCompilerException(String)

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy se zadanou zprávou, která popisuje chybu.

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci třídy RuntimeBinderInternalCompilerException se serializovanými daty.

RuntimeBinderInternalCompilerException(String, Exception)

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy, která má zadanou chybovou zprávu a odkaz na vnitřní výjimku, která je příčinou této výjimky.

RuntimeBinderInternalCompilerException()

Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy se systémem dodanou zprávu, která popisuje chybu.

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

Poznámky

Tento konstruktor inicializuje Message vlastnost nové instance na systémovou zprávu, která popisuje chybu, například "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" Tato zpráva bere v úvahu aktuální jazykovou verzi systému.

Následující tabulka ukazuje počáteční hodnoty vlastnosti instance InsufficientMemoryException.

Vlastnost Hodnota
InnerException null.
Message Řetězec lokalizované chybové zprávy

Viz také

Platí pro

RuntimeBinderInternalCompilerException(String)

Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy se zadanou zprávou, která popisuje chybu.

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)

Parametry

message
String

Zpráva, která popisuje výjimku Volající, který volá tento konstruktor, musí zajistit, aby byl tento řetězec lokalizován pro aktuální jazykovou verzi systému.

Poznámky

Následující tabulka ukazuje počáteční hodnoty vlastnosti instance RuntimeBinderInternalCompilerException.

Vlastnost Hodnota
InnerException null.
Message Řetězec chybové zprávy zadaný v message.

Viz také

Platí pro

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)

Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs

Upozornění

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicializuje novou instanci třídy RuntimeBinderInternalCompilerException se serializovanými daty.

protected:
 RuntimeBinderInternalCompilerException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RuntimeBinderInternalCompilerException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[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 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
[<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 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)

Parametry

info
SerializationInfo

Objekt SerializationInfo, ve kterém jsou uložena serializovaná data objektu týkající se výjimky

context
StreamingContext

Objekt StreamingContext obsahující kontextové informace o zdroji nebo cíli

Atributy

Poznámky

Tento konstruktor je volán během deserializaci k rekonstrukci objektu výjimky přenášeného prostřednictvím toku.

Platí pro

RuntimeBinderInternalCompilerException(String, Exception)

Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy, která má zadanou chybovou zprávu a odkaz na vnitřní výjimku, která je příčinou této výjimky.

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)

Parametry

message
String

Chybová zpráva, která vysvětluje důvod výjimky.

innerException
Exception

Výjimka, která je příčinou aktuální výjimky, nebo odkaz null, pokud není zadána žádná vnitřní výjimka.

Poznámky

Výjimka, která je vyvolána jako přímý výsledek předchozí výjimky by měla obsahovat odkaz na předchozí výjimku ve vlastnosti InnerException. Vlastnost InnerException vrací stejnou hodnotu, která je předána do konstruktoru, nebo hodnotu null, pokud vlastnost InnerException neposkytne hodnotu vnitřní výjimky konstruktoru.

Následující tabulka ukazuje počáteční hodnoty vlastnosti instance RuntimeBinderInternalCompilerException.

Vlastnost Hodnota
InnerException null.
Message Řetězec chybové zprávy zadaný v message.

Platí pro