RuntimeBinderInternalCompilerException Konstruktorer

Definition

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med ett systemmeddelande som beskriver felet.

Överlagringar

Name Description
RuntimeBinderInternalCompilerException()

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med ett systemmeddelande som beskriver felet.

RuntimeBinderInternalCompilerException(String)

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med ett angivet meddelande som beskriver felet.

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Föråldrad.

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med serialiserade data.

RuntimeBinderInternalCompilerException(String, Exception)

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen som har ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.

RuntimeBinderInternalCompilerException()

Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med ett systemmeddelande som beskriver felet.

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

Kommentarer

Den här konstruktorn initierar egenskapen för den nya instansen Message till ett meddelande från systemet som beskriver felet, till exempel "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" Det här meddelandet tar hänsyn till den aktuella systemkulturen.

I följande tabell visas de inledande egenskapsvärdena för en instans av InsufficientMemoryException.

Fastighet Value
InnerException null.
Message Den lokaliserade felmeddelandesträngen.

Se även

Gäller för

RuntimeBinderInternalCompilerException(String)

Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med ett angivet meddelande som beskriver felet.

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)

Parametrar

message
String

Meddelandet som beskriver undantaget. Anroparen för den här konstruktorn krävs för att säkerställa att den här strängen har lokaliserats för den aktuella systemkulturen.

Kommentarer

I följande tabell visas de inledande egenskapsvärdena för en instans av RuntimeBinderInternalCompilerException.

Fastighet Value
InnerException null.
Message Felmeddelandesträngen som anges i message.

Se även

Gäller för

RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)

Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs

Varning

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

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen med serialiserade data.

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)

Parametrar

info
SerializationInfo

Det SerializationInfo som innehåller serialiserade objektdata om undantaget som genereras.

context
StreamingContext

Som StreamingContext innehåller kontextuell information om källan eller målet.

Attribut

Kommentarer

Den här konstruktorn anropas under deserialiseringen för att återskapa undantagsobjektet som överförs via en ström.

Gäller för

RuntimeBinderInternalCompilerException(String, Exception)

Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs
Källa:
RuntimeBinderInternalCompilerException.cs

Initierar en ny instans av RuntimeBinderInternalCompilerException klassen som har ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.

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)

Parametrar

message
String

Felmeddelandet som förklarar orsaken till undantaget.

innerException
Exception

Undantaget som är orsaken till det aktuella undantaget eller en null-referens om inget inre undantag har angetts.

Kommentarer

Ett undantag som genereras som ett direkt resultat av ett tidigare undantag bör innehålla en referens till det tidigare undantaget i InnerException egenskapen. Egenskapen InnerException returnerar samma värde som skickas till konstruktorn, eller null om InnerException egenskapen inte anger det inre undantagsvärdet till konstruktorn.

I följande tabell visas de inledande egenskapsvärdena för en instans av RuntimeBinderInternalCompilerException.

Fastighet Value
InnerException null.
Message Felmeddelandesträngen som anges i message.

Gäller för