PropertyValueExceptionEventArgs Konstruktor

Definice

Vytvoří novou instanci PropertyValueExceptionEventArgs třídy, která obsahuje informace o chybě, ke které došlo při aktualizaci hodnoty vlastnosti.

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

Zpráva, která označuje, co se při změně hodnoty vlastnosti nezdařilo.

value
PropertyValue

Instance PropertyValue , ve které dochází k výjimce.

source
PropertyValueExceptionSource

Zdroj, který vygeneroval tuto výjimku – PropertyValue operace get nebo set.

exception
Exception

Chyba, ke které došlo při změně hodnoty vlastnosti.

Platí pro