次の方法で共有


PropertyValueExceptionEventArgs コンストラクタ

更新 : 2007 年 11 月

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

名前空間 :  Microsoft.Windows.Design.PropertyEditing
アセンブリ :  Microsoft.Windows.Design (Microsoft.Windows.Design.dll 内)

構文

'宣言
Public Sub New ( _
    message As String, _
    value As PropertyValue, _
    source As PropertyValueExceptionSource, _
    exception As Exception _
)
'使用
Dim message As String
Dim value As PropertyValue
Dim source As PropertyValueExceptionSource
Dim exception As Exception

Dim instance As New PropertyValueExceptionEventArgs(message, _
    value, source, exception)
public PropertyValueExceptionEventArgs(
    string message,
    PropertyValue value,
    PropertyValueExceptionSource source,
    Exception exception
)
public:
PropertyValueExceptionEventArgs(
    String^ message, 
    PropertyValue^ value, 
    PropertyValueExceptionSource source, 
    Exception^ exception
)
public function PropertyValueExceptionEventArgs(
    message : String, 
    value : PropertyValue, 
    source : PropertyValueExceptionSource, 
    exception : Exception
)

パラメータ

  • message
    型 : System.String

    失敗した内容を示すメッセージ。

例外

例外 条件
ArgumentNullException

message が nullnull 参照 (Visual Basic では Nothing) です。

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

PropertyValueExceptionEventArgs クラス

PropertyValueExceptionEventArgs メンバ

Microsoft.Windows.Design.PropertyEditing 名前空間

その他の技術情報

WPF デザイナの機能拡張

プロパティ編集アーキテクチャ