Edytuj

Udostępnij za pośrednictwem


PropertyValueExceptionEventArgs Constructor

Definition

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

public:
 PropertyValueExceptionEventArgs(System::String ^ message, System::Activities::Presentation::PropertyEditing::PropertyValue ^ value, System::Activities::Presentation::PropertyEditing::PropertyValueExceptionSource source, Exception ^ exception);
public PropertyValueExceptionEventArgs (string message, System.Activities.Presentation.PropertyEditing.PropertyValue value, System.Activities.Presentation.PropertyEditing.PropertyValueExceptionSource source, Exception exception);
new System.Activities.Presentation.PropertyEditing.PropertyValueExceptionEventArgs : string * System.Activities.Presentation.PropertyEditing.PropertyValue * System.Activities.Presentation.PropertyEditing.PropertyValueExceptionSource * Exception -> System.Activities.Presentation.PropertyEditing.PropertyValueExceptionEventArgs
Public Sub New (message As String, value As PropertyValue, source As PropertyValueExceptionSource, exception As Exception)

Parameters

message
String

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

value
PropertyValue

The PropertyValue instance in which the exception is occurring.

source
PropertyValueExceptionSource

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

exception
Exception

The error that occurred during the property value change.

Applies to