PropertyValueExceptionEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈