PropertyValue.OnPropertyValueException Method
Raises the PropertyValueException event.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overridable Sub OnPropertyValueException ( _
e As PropertyValueExceptionEventArgs _
)
protected virtual void OnPropertyValueException(
PropertyValueExceptionEventArgs e
)
protected:
virtual void OnPropertyValueException(
PropertyValueExceptionEventArgs^ e
)
abstract OnPropertyValueException :
e:PropertyValueExceptionEventArgs -> unit
override OnPropertyValueException :
e:PropertyValueExceptionEventArgs -> unit
protected function OnPropertyValueException(
e : PropertyValueExceptionEventArgs
)
Parameters
- e
Type: Microsoft.Windows.Design.PropertyEditing.PropertyValueExceptionEventArgs
The data for the event.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | e is nulla null reference (Nothing in Visual Basic). |
Remarks
This method is called by the get and set methods of the Value and StringValue properties when CatchExceptions is true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace