PropertyValueExceptionEventArgs Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Tworzy nowe wystąpienie PropertyValueExceptionEventArgs klasy zawierające informacje o błędzie, który wystąpił podczas aktualizowania wartości właściwości.
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)
Parametry
- message
- String
Komunikat wskazujący, co nie powiodło się podczas zmiany wartości właściwości.
- value
- PropertyValue
PropertyValue Wystąpienie, w którym występuje wyjątek.
- source
- PropertyValueExceptionSource
Źródło, które wygenerowało ten wyjątek — operację pobierania PropertyValue lub ustawiania.
- exception
- Exception
Błąd, który wystąpił podczas zmiany wartości właściwości.