PropertyValueExceptionEventArgs Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en ny instans av PropertyValueExceptionEventArgs klassen som innehåller information om ett fel som har inträffat under uppdateringen av ett egenskapsvärde.
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)
Parametrar
- message
- String
Ett meddelande som anger vad som misslyckades under ändringen av egenskapsvärdet.
- value
- PropertyValue
Den PropertyValue instans där undantaget inträffar.
- source
- PropertyValueExceptionSource
Källan som genererade det här undantaget – en PropertyValue get- eller set-åtgärd.
- exception
- Exception
Felet som uppstod under ändringen av egenskapsvärdet.