次の方法で共有


ObjectNotFoundException コンストラクター

定義

オーバーロード

ObjectNotFoundException()

ObjectNotFoundException の新しいインスタンスを初期化します。

ObjectNotFoundException(String)

専用のエラー メッセージを使用して、ObjectNotFoundException の新しいインスタンスを初期化します。

ObjectNotFoundException(String, Exception)

指定したエラー メッセージと内部例外への参照を使用する ObjectNotFoundException クラスの新しいインスタンスを初期化します。

ObjectNotFoundException()

ObjectNotFoundException の新しいインスタンスを初期化します。

public ObjectNotFoundException ();
Public Sub New ()

適用対象

ObjectNotFoundException(String)

専用のエラー メッセージを使用して、ObjectNotFoundException の新しいインスタンスを初期化します。

public ObjectNotFoundException (string message);
new System.Data.Entity.Core.ObjectNotFoundException : string -> System.Data.Entity.Core.ObjectNotFoundException
Public Sub New (message As String)

パラメーター

message
String

エラーを説明するメッセージ。

適用対象

ObjectNotFoundException(String, Exception)

指定したエラー メッセージと内部例外への参照を使用する ObjectNotFoundException クラスの新しいインスタンスを初期化します。

public ObjectNotFoundException (string message, Exception innerException);
new System.Data.Entity.Core.ObjectNotFoundException : string * Exception -> System.Data.Entity.Core.ObjectNotFoundException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

エラーを説明するメッセージ。

innerException
Exception

現在の例外の原因である例外、または内部例外を指定しない場合は null 参照 (Visual Basic では Nothing) です。

適用対象