次の方法で共有


RuntimeBinderException コンストラクター

定義

RuntimeBinderException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
RuntimeBinderException()

RuntimeBinderException クラスの新しいインスタンスを初期化します。

RuntimeBinderException(String)

指定したエラー メッセージを含む RuntimeBinderException クラスの新しいインスタンスを初期化します。

RuntimeBinderException(SerializationInfo, StreamingContext)
古い.

シリアル化されたデータを持つ RuntimeBinderException クラスの新しいインスタンスを初期化します。

RuntimeBinderException(String, Exception)

指定したエラー メッセージと、この例外の原因である内部例外への参照を持つ、 RuntimeBinderException クラスの新しいインスタンスを初期化します。

RuntimeBinderException()

ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs

RuntimeBinderException クラスの新しいインスタンスを初期化します。

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

注釈

このコンストラクターは、新しいインスタンスの Message プロパティを、"DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" などのエラーを説明するシステム指定のメッセージに初期化します。 このメッセージでは、現在のシステム カルチャが考慮されます。

次の表に、 InsufficientMemoryExceptionのインスタンスの初期プロパティ値を示します。

財産 価値
InnerException null
Message ローカライズされたエラー メッセージ文字列。

こちらもご覧ください

適用対象

RuntimeBinderException(String)

ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs

指定したエラー メッセージを含む RuntimeBinderException クラスの新しいインスタンスを初期化します。

public:
 RuntimeBinderException(System::String ^ message);
public RuntimeBinderException(string message);
public RuntimeBinderException(string? message);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : string -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
Public Sub New (message As String)

パラメーター

message
String

例外を説明するメッセージ。 このコンストラクターの呼び出し元は、この文字列が現在のシステム カルチャ用にローカライズされていることを確認する必要があります。

注釈

次の表に、 RuntimeBinderExceptionのインスタンスの初期プロパティ値を示します。

財産 価値
InnerException null
Message messageで指定されたエラー メッセージ文字列。

こちらもご覧ください

適用対象

RuntimeBinderException(SerializationInfo, StreamingContext)

ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs

注意事項

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

シリアル化されたデータを持つ RuntimeBinderException クラスの新しいインスタンスを初期化します。

protected:
 RuntimeBinderException(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 RuntimeBinderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected RuntimeBinderException(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.RuntimeBinderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

スローされる例外に関するシリアル化されたオブジェクト データを保持するオブジェクト。

context
StreamingContext

ソースまたは変換先に関するコンテキスト情報。

属性

注釈

このコンストラクターは、ストリーム経由で送信される例外オブジェクトを再構成するために、逆シリアル化中に呼び出されます。

適用対象

RuntimeBinderException(String, Exception)

ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs
ソース:
RuntimeBinderException.cs

指定したエラー メッセージと、この例外の原因である内部例外への参照を持つ、 RuntimeBinderException クラスの新しいインスタンスを初期化します。

public:
 RuntimeBinderException(System::String ^ message, Exception ^ innerException);
public RuntimeBinderException(string message, Exception innerException);
public RuntimeBinderException(string? message, Exception? innerException);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : string * Exception -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

例外の理由を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因である例外。内部例外が指定されていない場合は null 参照。

注釈

前の例外の直接の結果としてスローされる例外は、 InnerException プロパティに前の例外への参照を含める必要があります。 InnerException プロパティは、コンストラクターに渡されるのと同じ値を返します。または、InnerException プロパティがコンストラクターに内部例外値を提供しない場合はnullします。

次の表に、 RuntimeBinderExceptionのインスタンスの初期プロパティ値を示します。

財産 価値
InnerException null
Message messageで指定されたエラー メッセージ文字列。

適用対象