ObjectNeedsStateException コンストラクタ (String, Exception)
指定したエラー メッセージとこの例外の原因となった内部例外への参照が含まれた、ObjectNeedsStateException クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.Synchronization
アセンブリ: Microsoft.Synchronization (microsoft.synchronization.dll 内)
構文
'宣言
Public Sub New ( _
message As String, _
innerException As Exception _
)
'使用
Dim message As String
Dim innerException As Exception
Dim instance As New ObjectNeedsStateException(message, innerException)
public ObjectNeedsStateException (
string message,
Exception innerException
)
public:
ObjectNeedsStateException (
String^ message,
Exception^ innerException
)
public ObjectNeedsStateException (
String message,
Exception innerException
)
public function ObjectNeedsStateException (
message : String,
innerException : Exception
)
パラメータ
- message
例外の原因を示すエラー メッセージです。
- innerException
現在の例外の原因になった例外です。内部例外が指定されていない場合は NULL 参照 (Visual Basic では Nothing) です。 になります。
参照
リファレンス
ObjectNeedsStateException クラス
ObjectNeedsStateException メンバ
Microsoft.Synchronization 名前空間