PropertyValueExceptionEventArgs Constructor (String^, PropertyValue^, PropertyValueExceptionSource, Exception^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the PropertyValueExceptionEventArgs class that contains information about an error that has occurred during the updating of a property value.

Namespace:   System.Activities.Presentation.PropertyEditing
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public:
PropertyValueExceptionEventArgs(
	String^ message,
	PropertyValue^ value,
	PropertyValueExceptionSource source,
	Exception^ exception
)

Parameters

message
Type: System::String^

A message that indicates what failed during the property value change.

value
Type: System.Activities.Presentation.PropertyEditing::PropertyValue^

The PropertyValue instance in which the exception is occurring.

source
Type: System.Activities.Presentation.PropertyEditing::PropertyValueExceptionSource

The source that generated this exception—a PropertyValue get or set operation.

exception
Type: System::Exception^

The error that occurred during the property value change.

.NET Framework
Available since 4.0
Return to top
Show: