NullReferenceException コンストラクタ (SerializationInfo, StreamingContext)
アセンブリ: mscorlib (mscorlib.dll 内)

Dim info As SerializationInfo Dim context As StreamingContext Dim instance As New NullReferenceException(info, context)
protected NullReferenceException ( SerializationInfo info, StreamingContext context )
protected: NullReferenceException ( SerializationInfo^ info, StreamingContext context )
protected NullReferenceException ( SerializationInfo info, StreamingContext context )
protected function NullReferenceException ( info : SerializationInfo, context : StreamingContext )


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


NullReferenceException コンストラクタ (String, Exception)
アセンブリ: mscorlib (mscorlib.dll 内)

Dim message As String Dim innerException As Exception Dim instance As New NullReferenceException(message, innerException)

前の例外の直接の結果としてスローされる例外については、InnerException プロパティに、前の例外への参照が格納されます。InnerException プロパティは、コンストラクタに渡されたものと同じ値を返します。InnerException プロパティによって内部例外値がコンストラクタに渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します。
NullReferenceException のインスタンスの初期プロパティ値を次の表に示します。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


NullReferenceException コンストラクタ

名前 | 説明 |
---|---|
NullReferenceException () | NullReferenceException クラスの新しいインスタンスを初期化し、その Message プロパティの値として、"オブジェクトのインスタンスを指定する必要がある部分に null 値が指定されています" などのシステム提供のエラーを指定します。このメッセージは、システムの現在のカルチャを考慮して指定します。 .NET Compact Framework によってサポートされています。 |
NullReferenceException (String) | 指定したエラー メッセージを使用して、NullReferenceException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
NullReferenceException (SerializationInfo, StreamingContext) | シリアル化したデータを使用して、NullReferenceException クラスの新しいインスタンスを初期化します。 |
NullReferenceException (String, Exception) | 指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、NullReferenceException クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |

NullReferenceException コンストラクタ (String)
アセンブリ: mscorlib (mscorlib.dll 内)



Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


NullReferenceException コンストラクタ ()
アセンブリ: mscorlib (mscorlib.dll 内)



Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- NullReferenceException コンストラクタのページへのリンク