次の方法で共有


MissingMemberException.Message プロパティ

存在しないメンバのクラス名、メンバ名、シグネチャを示す文字列を取得します。

Overrides Public ReadOnly Property Message As String
[C#]
public override string Message {get;}
[C++]
public: __property String* get_Message();
[JScript]
public override function get Message() : String;

プロパティ値

エラー メッセージ文字列。

解説

オブジェクトを生成するときにクラス名が指定されていない場合は、基本クラスから継承した既定の文字列が返されます。

このプロパティは Message をオーバーライドします。エラー メッセージはローカライズする必要があります。

このプロパティは読み取り専用です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

MissingMemberException クラス | MissingMemberException メンバ | System 名前空間 | Exception | MissingFieldException | MissingMethodException | 例外の処理とスロー