PropertyValueExceptionEventArgs Konstruktor

Definition

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.

Gäller för