RuntimeBinderInternalCompilerException Konstruktory

Definicja

Inicjuje nowe wystąpienie RuntimeBinderInternalCompilerException klasy z komunikatem dostarczonym przez system, który opisuje błąd.

Przeciążenia

RuntimeBinderInternalCompilerException()

Inicjuje nowe wystąpienie RuntimeBinderInternalCompilerException klasy z komunikatem dostarczonym przez system, który opisuje błąd.

RuntimeBinderInternalCompilerException(String)

Inicjuje RuntimeBinderInternalCompilerException nowe wystąpienie klasy z określonym komunikatem opisujący błąd.

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie klasy RuntimeBinderInternalCompilerException z zserializowanymi danymi.

RuntimeBinderInternalCompilerException(String, Exception)

Inicjuje nowe wystąpienie RuntimeBinderInternalCompilerException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który jest przyczyną tego wyjątku.

RuntimeBinderInternalCompilerException()

Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs

Inicjuje nowe wystąpienie RuntimeBinderInternalCompilerException klasy z komunikatem dostarczonym przez system, który opisuje błąd.

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

Uwagi

Ten konstruktor inicjuje Message właściwość nowego wystąpienia do komunikatu dostarczonego przez system, który opisuje błąd, taki jak "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" Ten komunikat uwzględnia bieżącą kulturę systemu.

Poniższa tabela prezentuje początkowe wartości właściwości dla wystąpienia klasy InsufficientMemoryException.

Właściwość Wartość
InnerException null.
Message Zlokalizowany ciąg z komunikatem o błędzie.

Zobacz też

Dotyczy

RuntimeBinderInternalCompilerException(String)

Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs

Inicjuje RuntimeBinderInternalCompilerException nowe wystąpienie klasy 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 w celu zagwarantowania, że ten ciąg został zlokalizowany w bieżącej kulturze systemu.

Uwagi

Poniższa tabela prezentuje początkowe wartości właściwości dla wystąpienia klasy RuntimeBinderInternalCompilerException.

Właściwość Wartość
InnerException null.
Message Ciąg z komunikatem o błędzie określony w parametrze message.

Zobacz też

Dotyczy

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)

Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs

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 zserializowanymi 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

Obiekt SerializationInfo zawierający dane zserializowanego obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

Obiekt StreamingContext zawierający informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Atrybuty

Uwagi

Ten konstruktor jest wywoływana podczas deserializacji do odtworzenia obiektu wyjątku przesyłanego za pomocą strumienia.

Dotyczy

RuntimeBinderInternalCompilerException(String, Exception)

Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs
Źródło:
RuntimeBinderInternalCompilerException.cs

Inicjuje nowe wystąpienie RuntimeBinderInternalCompilerException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, 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 została przekazana do konstruktora, lub wartość null, jeśli właściwość InnerException nie przekazuje do konstruktora wartości wyjątku wewnętrznego.

Poniższa tabela prezentuje początkowe wartości właściwości dla wystąpienia klasy RuntimeBinderInternalCompilerException.

Właściwość Wartość
InnerException null.
Message Ciąg z komunikatem o błędzie określony w parametrze message.

Dotyczy