PropertyValueExceptionEventArgs-Konstruktor
Aktualisiert: November 2007
Initialisiert eine neue Instanz der PropertyValueExceptionEventArgs-Klasse.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
value As PropertyValue, _
source As PropertyValueExceptionSource, _
exception As Exception _
)
'Usage
Dim message As String
Dim value As PropertyValue
Dim source As PropertyValueExceptionSource
Dim exception As Exception
Dim instance As New PropertyValueExceptionEventArgs(message, _
value, source, exception)
public PropertyValueExceptionEventArgs(
string message,
PropertyValue value,
PropertyValueExceptionSource source,
Exception exception
)
public:
PropertyValueExceptionEventArgs(
String^ message,
PropertyValue^ value,
PropertyValueExceptionSource source,
Exception^ exception
)
public function PropertyValueExceptionEventArgs(
message : String,
value : PropertyValue,
source : PropertyValueExceptionSource,
exception : Exception
)
Parameter
message
Typ: System.StringEine Meldung, die angibt, welcher Vorgang fehlgeschlagen ist.
value
Typ: Microsoft.Windows.Design.PropertyEditing.PropertyValueDer PropertyValue, für den die Ausnahme aufgetreten ist.
source
Typ: Microsoft.Windows.Design.PropertyEditing.PropertyValueExceptionSourceDie Quelle, die diese Ausnahme generiert hat (Abrufen oder Festlegen).
exception
Typ: System.ExceptionDie innere Ausnahme.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | message hat den Wert nullNULL-Verweis (Nothing in Visual Basic). |
Berechtigungen
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
PropertyValueExceptionEventArgs-Klasse
PropertyValueExceptionEventArgs-Member
Microsoft.Windows.Design.PropertyEditing-Namespace