Sdílet prostřednictvím


RuntimeBinderInternalCompilerException Konstruktory

Definice

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

Přetížení

Name Description
RuntimeBinderInternalCompilerException()

Inicializuje novou instanci RuntimeBinderInternalCompilerException třídy se zprávou zadanou systémem, 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 RuntimeBinderInternalCompilerException třídy 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
Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs

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

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

Poznámky

Tento konstruktor inicializuje Message vlastnost nové instance do systému zadané zprávy, která popisuje chybu, jako je Například DefaultMessageDisplayedByParameterlessCtorWriterMustSupply Tato zpráva bere v úvahu aktuální systémovou jazykovou verzi.

V následující tabulce jsou uvedeny počáteční hodnoty vlastností instance InsufficientMemoryException.

Vlastnictví Hodnota
InnerException null.
Message Lokalizovaný řetězec chybové zprávy.

Viz také

Platí pro

RuntimeBinderInternalCompilerException(String)

Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs
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í tohoto konstruktoru je nutný k zajištění toho, aby byl tento řetězec lokalizován pro aktuální systémovou jazykovou verzi.

Poznámky

V následující tabulce jsou uvedeny počáteční hodnoty vlastností instance RuntimeBinderInternalCompilerException.

Vlastnictví 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
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 RuntimeBinderInternalCompilerException třídy serializovanými daty.

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);
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}")>]
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
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

Ten SerializationInfo obsahuje serializovaná data objektu o vyvolání výjimky.

context
StreamingContext

Obsahuje StreamingContext kontextové informace o zdroji nebo cíli.

Atributy

Poznámky

Tento konstruktor je volána během deserializace k rekonstituci objekt výjimky přenášený přes datový proud.

Platí pro

RuntimeBinderInternalCompilerException(String, Exception)

Zdroj:
RuntimeBinderInternalCompilerException.cs
Zdroj:
RuntimeBinderInternalCompilerException.cs
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 nulový odkaz, pokud není zadána žádná vnitřní výjimka.

Poznámky

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

V následující tabulce jsou uvedeny počáteční hodnoty vlastností instance RuntimeBinderInternalCompilerException.

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

Platí pro