Share via


PropertyValueExceptionEventArgs Constructor

Initializes a new instance of the PropertyValueExceptionEventArgs class.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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
)

Parameters

  • message
    Type: System.String
    A message that indicates what failed.

Exceptions

Exception Condition
ArgumentNullException

message is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

PropertyValueExceptionEventArgs Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture