ValidationError コンストラクター

定義

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

オーバーロード

ValidationError(ValidationRule, Object)

指定したパラメーターを使用して、ValidationError クラスの新しいインスタンスを初期化します。

ValidationError(ValidationRule, Object, Object, Exception)

指定したパラメーターを使用して、ValidationError クラスの新しいインスタンスを初期化します。

ValidationError(ValidationRule, Object)

指定したパラメーターを使用して、ValidationError クラスの新しいインスタンスを初期化します。

public:
 ValidationError(System::Windows::Controls::ValidationRule ^ ruleInError, System::Object ^ bindingInError);
public ValidationError (System.Windows.Controls.ValidationRule ruleInError, object bindingInError);
new System.Windows.Controls.ValidationError : System.Windows.Controls.ValidationRule * obj -> System.Windows.Controls.ValidationError
Public Sub New (ruleInError As ValidationRule, bindingInError As Object)

パラメーター

ruleInError
ValidationRule

検証エラーを検出した規則。

bindingInError
Object

検証エラーを含む BindingExpression オブジェクトまたは MultiBindingExpression オブジェクト。

適用対象

ValidationError(ValidationRule, Object, Object, Exception)

指定したパラメーターを使用して、ValidationError クラスの新しいインスタンスを初期化します。

public:
 ValidationError(System::Windows::Controls::ValidationRule ^ ruleInError, System::Object ^ bindingInError, System::Object ^ errorContent, Exception ^ exception);
public ValidationError (System.Windows.Controls.ValidationRule ruleInError, object bindingInError, object errorContent, Exception exception);
new System.Windows.Controls.ValidationError : System.Windows.Controls.ValidationRule * obj * obj * Exception -> System.Windows.Controls.ValidationError
Public Sub New (ruleInError As ValidationRule, bindingInError As Object, errorContent As Object, exception As Exception)

パラメーター

ruleInError
ValidationRule

検証エラーを検出した規則。

bindingInError
Object

検証エラーを含む BindingExpression オブジェクトまたは MultiBindingExpression オブジェクト。

errorContent
Object

エラーに関する情報。

exception
Exception

検証エラーの原因となった例外。 このパラメーターは省略可能で、null に設定できます。

適用対象