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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應