RuntimeBinderInternalCompilerException Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z komunikatem dostarczonym przez system, który opisuje błąd.
Przeciążenia
| RuntimeBinderInternalCompilerException() |
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z komunikatem dostarczonym przez system, który opisuje błąd. |
| RuntimeBinderInternalCompilerException(String) |
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z określonym komunikatem opisujący błąd. |
| RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z serializowanymi danymi. |
| RuntimeBinderInternalCompilerException(String, Exception) |
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku. |
RuntimeBinderInternalCompilerException()
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z komunikatem dostarczonym przez system, który opisuje błąd.
public:
RuntimeBinderInternalCompilerException();
public RuntimeBinderInternalCompilerException ();
Public Sub New ()
Uwagi
Ten konstruktor inicjuje właściwość Message nowego wystąpienia do komunikatu dostarczonego przez system, który opisuje błąd, taki jak "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" Ten komunikat uwzględnia bieżącą kulturę systemu.
W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia InsufficientMemoryException.
| Własność | Wartość |
|---|---|
| InnerException |
null. |
| Message | Zlokalizowany ciąg komunikatu o błędzie. |
Zobacz też
Dotyczy
RuntimeBinderInternalCompilerException(String)
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z określonym komunikatem opisujący błąd.
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
Komunikat opisujący wyjątek. Obiekt wywołujący tego konstruktora jest wymagany, aby upewnić się, że ten ciąg został zlokalizowany dla bieżącej kultury systemu.
Uwagi
W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia RuntimeBinderInternalCompilerException.
| Własność | Wartość |
|---|---|
| InnerException |
null. |
| Message | Ciąg komunikatu o błędzie określony w message. |
Zobacz też
Dotyczy
RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Przestroga
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z serializowanymi danymi.
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
SerializationInfo przechowujące zserializowane dane obiektu dotyczące zgłaszanego wyjątku.
- context
- StreamingContext
StreamingContext zawierający kontekstowe informacje o źródle lub miejscu docelowym.
- Atrybuty
Uwagi
Ten konstruktor jest wywoływany podczas deserializacji w celu ponownego utworzenia obiektu wyjątku przesyłanego przez strumień.
Dotyczy
RuntimeBinderInternalCompilerException(String, Exception)
Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.
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
Komunikat o błędzie wyjaśniający przyczynę wyjątku.
- innerException
- Exception
Wyjątek, który jest przyczyną bieżącego wyjątku lub odwołanie o wartości null, jeśli nie określono wyjątku wewnętrznego.
Uwagi
Wyjątek zgłaszany bezpośrednio w wyniku poprzedniego wyjątku powinien zawierać odwołanie do poprzedniego wyjątku we właściwości InnerException. Właściwość InnerException zwraca tę samą wartość, która jest przekazywana do konstruktora, lub null, jeśli właściwość InnerException nie dostarcza wartości wyjątku wewnętrznego do konstruktora.
W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia RuntimeBinderInternalCompilerException.
| Własność | Wartość |
|---|---|
| InnerException |
null. |
| Message | Ciąg komunikatu o błędzie określony w message. |