次の方法で共有


PropertyValueExceptionEventArgs コンストラクター

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

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

構文

'宣言
Public Sub New ( _
    message As String, _
    value As PropertyValue, _
    source As PropertyValueExceptionSource, _
    exception As Exception _
)
public PropertyValueExceptionEventArgs(
    string message,
    PropertyValue value,
    PropertyValueExceptionSource source,
    Exception exception
)
public:
PropertyValueExceptionEventArgs(
    String^ message, 
    PropertyValue^ value, 
    PropertyValueExceptionSource source, 
    Exception^ exception
)
new : 
        message:string * 
        value:PropertyValue * 
        source:PropertyValueExceptionSource * 
        exception:Exception -> PropertyValueExceptionEventArgs
public function PropertyValueExceptionEventArgs(
    message : String, 
    value : PropertyValue, 
    source : PropertyValueExceptionSource, 
    exception : Exception
)

パラメーター

  • message
    型: System.String
    失敗した内容を示すメッセージ。

例外

例外 条件
ArgumentNullException

message は nullnull 参照 (Visual Basic では Nothing) なので、

.NET Framework セキュリティ

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

参照

参照

PropertyValueExceptionEventArgs クラス

Microsoft.Windows.Design.PropertyEditing 名前空間

その他の技術情報

WPF デザイナーの機能拡張

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