PropertyValueExceptionEventArgs Constructor
Initializes a new instance of the PropertyValueExceptionEventArgs class.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
value As PropertyValue, _
source As PropertyValueExceptionSource, _
exception As Exception _
)
public PropertyValueExceptionEventArgs(
string message,
PropertyValue value,
PropertyValueExceptionSource source,
Exception exception
)
public:
PropertyValueExceptionEventArgs(
String^ message,
PropertyValue^ value,
PropertyValueExceptionSource source,
Exception^ exception
)
new :
message:string *
value:PropertyValue *
source:PropertyValueExceptionSource *
exception:Exception -> PropertyValueExceptionEventArgs
public function PropertyValueExceptionEventArgs(
message : String,
value : PropertyValue,
source : PropertyValueExceptionSource,
exception : Exception
)
Parameters
- message
Type: System.String
A message that indicates what failed.
- value
Type: Microsoft.Windows.Design.PropertyEditing.PropertyValue
The PropertyValue for which the exception occurred.
- source
Type: Microsoft.Windows.Design.PropertyEditing.PropertyValueExceptionSource
The source that generated this exception (get or set).
- exception
Type: System.Exception
The inner exception.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | message is nulla null reference (Nothing in Visual Basic). |
.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
PropertyValueExceptionEventArgs Class
Microsoft.Windows.Design.PropertyEditing Namespace