PropertyValueExceptionEventArgs Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt eine neue Instanz der PropertyValueExceptionEventArgs Klasse, die Informationen zu einem Fehler enthält, der beim Aktualisieren eines Eigenschaftswerts aufgetreten ist.
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)
Parameter
- message
- String
Eine Meldung, die angibt, was während der Änderung des Eigenschaftswerts fehlgeschlagen ist.
- value
- PropertyValue
Die PropertyValue Instanz, in der die Ausnahme auftritt.
- source
- PropertyValueExceptionSource
Die Quelle, die diese Ausnahme generiert hat – ein PropertyValue Get- oder Set-Vorgang.
- exception
- Exception
Der Fehler, der während der Änderung des Eigenschaftswerts aufgetreten ist.